aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2003-08-23-LocalUnionTest.c
blob: dc27802623ae5756130f77ade8f7fb365a78d310 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null



union foo { int X; };

int test(union foo* F) {
  {
    union foo { float X; } A;
  }
}