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.local
/
p4.cpp
blob
2852d9627f42e04747f147d2fa2f8dac6af64993
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
void
f
() {
4
struct
X
{
5
static int
a
;
// expected-error {{static data member 'a' not allowed in local struct 'X'}}
6
int
b
;
7
8
static void
f
() { }
9
};
10
}