New testcase found when working on union support *sigh*

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3149 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-07-30 06:05:40 +00:00
parent fd5951c16b
commit a7e2dd4847

View File

@ -0,0 +1,13 @@
union X {
//char C;
//int A;
void *B;
};
union X foo(union X A) {
//A.C = 123;
//A.A = 39249;
A.B = (void*)123040123321;
return A;
}