Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC / 2002-05-23-TypeNameCollision.c
blob25d114965d486785b2c7226c330bbc32b1740956
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
3 /* Testcase for when struct tag conflicts with typedef name... grr */
5 typedef struct foo {
6 struct foo *X;
7 int Y;
8 } * foo;
10 foo F1;
11 struct foo *F2;
13 enum bar { test1, test2 };
15 typedef float bar;
17 enum bar B1;
18 bar B2;