[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / clang / test / Misc / constexpr-subobj-init-source-ranges.cpp
blob990d1056d6d46ef5e68a1cf02c23359b8741f799
1 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-print-source-range-info %s 2>&1 | FileCheck %s --strict-whitespace
2 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-print-source-range-info -fexperimental-new-constant-interpreter %s 2>&1 | FileCheck %s --strict-whitespace
4 struct DelBase {
5 constexpr DelBase() = delete;
6 };
8 // CHECK: :{[[@LINE+1]]:21-[[@LINE+1]]:28}
9 struct Foo : public DelBase {
10 constexpr Foo() {};
12 constexpr Foo f;