Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC / 2002-02-13-TypeVarNameCollision.c
blob2dede68a38dd83deb3b14bdccbd3418d83d64c96
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
3 /* This testcase causes a symbol table collision. Type names and variable
4 * names should be in distinct namespaces
5 */
7 typedef struct foo {
8 int X, Y;
9 } FOO;
11 static FOO foo[100];
13 int test() {
14 return foo[4].Y;