Sign in
llvm
/
clang
/
1571f048734190c5ed03d1a6083e579ec7b5801f
/
.
/
test
/
SemaCXX
/
static-initializers.cpp
blob: ca49fce052e367ec89aa8758f7631a1205d91b69 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
int
f
()
{
return
10
;
}
void
g
()
{
static
int
a
=
f
();
}
static
int
b
=
f
();