repo.or.cz
/
clang
/
acc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add LLVM runtime checks to build path
[clang/acc.git]
/
test
/
SemaCXX
/
static-initializers.cpp
blob
3d92a532ae1a23c1d3ba2b4771c26997cc109246
1
// RUN: clang-cc -fsyntax-only -verify %s
2
int
f
()
3
{
4
return
10
;
5
}
6
7
void
g
()
8
{
9
static int
a
=
f
();
10
}
11
12
static int
b
=
f
();