Sign in
llvm
/
llvm-project
/
clang
/
5bb5b6b99a39131f65d486d75952441507320334
/
.
/
test
/
CXX
/
class
/
class.local
/
p4.cpp
blob: 2852d9627f42e04747f147d2fa2f8dac6af64993 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
void
f
()
{
struct
X
{
static
int
a
;
// expected-error {{static data member 'a' not allowed in local struct 'X'}}
int
b
;
static
void
f
()
{
}
};
}