summaryrefslogtreecommitdiff
path: root/test/FrontendC/2003-01-30-UnionInit.c
blob: 576958442aece266683da089458777a4b2fc7865 (plain)
1
2
3
4
5
6
7
8
// RUN: %llvmgcc -S %s -o /dev/null

union foo {
  struct { char A, B; } X;
  int C;
};

union foo V = { {1, 2} };