summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2003-08-23-LocalUnionTest.c
blob: 50b01e4258784828bea9e744be3739598d3ce9d5 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null



union foo { int X; };

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