pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / test / FrontendC / 2005-10-18-VariableSizedElementCrash.c
blobb9166621db4a86f66aa16cc5d47f2fd7cf7a262b
1 // RUN: %llvmgcc %s -S -o -
3 int sub1(int i, char *pi) {
4 typedef int foo[i];
5 struct bar {foo f1; int f2:3; int f3:4;} *p = (struct bar *) pi;
6 xxx(p->f1);
7 return p->f3;