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


union X {
  void *B;
};

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