pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / test / FrontendC / 2002-05-23-StaticValues.c
bloba5753b95f16eb78127d55aa7259c5ac4f0f46f06
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
3 /* Make sure the frontend is correctly marking static stuff as internal! */
5 int X;
6 static int Y = 12;
8 static void foo(int Z) {
9 Y = Z;
12 void *test() {
13 foo(12);
14 return &Y;