mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
New testcase found when working on union support *sigh*
llvm-svn: 3149
This commit is contained in:
parent
6b03d7d268
commit
0cd1a705a7
13
test/Regression/CFrontend/2002-07-30-SubregSetAssertion.c
Normal file
13
test/Regression/CFrontend/2002-07-30-SubregSetAssertion.c
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user