Sign in
rust
/
rust-lang
/
llvm-project
/
98bfdac5ce82d1679f8af9a57501471812ab68d7
/
.
/
clang
/
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
()
{
}
};
}