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