pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / test / FrontendC / 2004-03-07-ExternalConstant.c
blobb8e13a35548a42a037bb92c534e209aee0e54f89
1 // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep constant
3 extern const int a[]; // 'a' should be marked constant even though it's external!
4 int foo () {
5 return a[0];