projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase found when working on union support *sigh*
[oota-llvm.git]
/
test
/
CFrontend
/
2002-05-23-StaticValues.c
1
/* Make sure the frontend is correctly marking static stuff as internal! */
2
3
int X;
4
static int Y = 12;
5
6
static void foo(int Z) {
7
Y = Z;
8
}
9
10
void *test() {
11
foo(12);
12
return &Y;
13
}