pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / test / FrontendC / 2005-12-04-AttributeUsed.c
blob33e27e89f4c8116761a36fdfded8474244101094
1 // RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llvm-dis | \
2 // RUN: grep llvm.used | grep foo | grep X
4 int X __attribute__((used));
5 int Y;
7 __attribute__((used)) void foo() {}