Debian Codegraph @

clang/test/Misc/constexpr-subobj-init-source-ranges.cpp

raw
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
3
4 struct DelBase {
5 constexpr DelBase() = delete;
6 };
7
8 // CHECK: :{[[@LINE+1]]:21-[[@LINE+1]]:28}
9 struct Foo : public DelBase {
10 constexpr Foo() {};
11 };
12 constexpr Foo f;