diff options
Diffstat (limited to 'test/FrontendC/2002-05-23-StaticValues.c')
-rw-r--r-- | test/FrontendC/2002-05-23-StaticValues.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/FrontendC/2002-05-23-StaticValues.c b/test/FrontendC/2002-05-23-StaticValues.c deleted file mode 100644 index a5753b95f1..0000000000 --- a/test/FrontendC/2002-05-23-StaticValues.c +++ /dev/null @@ -1,15 +0,0 @@ -// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null - -/* 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; -} |