repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Misc
/
constexpr-subobj-init-source-ranges.cpp
blob
342da2d8866687b61a9c91b9ad28b66918aa6d13
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
;