1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Regression/CFrontend/2002-05-23-StaticValues.c
Chris Lattner 8246fb3a44 New testcase, to be inspected by hand
llvm-svn: 2739
2002-05-23 20:58:45 +00:00

14 lines
180 B
C

/* Make sure the frontend is correctly marking static stuff as internal! */
int X;
static int Y = 12;
static void foo(int Z) {
Y = Z;
}
void *test() {
foo(12);
return &Y;
}