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
/
CXX
/
class
/
class.static
/
class.static.data
/
p2.cpp
blob
8c38276641d41129c9e1b269f10178dfb9ae3944
1
// RUN: %clang_cc1 -std=c++1z -verify %s
2
3
struct
X
{
4
static struct
A a
;
5
static
inline
struct
B b
;
// expected-error {{incomplete type}} expected-note {{forward decl}}
6
static
inline
struct
C c
= {};
// expected-error {{incomplete type}} expected-note {{forward decl}}
7
};