aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2002-07-30-SubregSetAssertion.c
blob: af72eda65242442891e2adb8288a22c6859a9f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null


union X {
  void *B;
};

union X foo() {
  union X A;
  A.B = (void*)123;
  return A;
}