mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
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:
parent
fd5951c16b
commit
a7e2dd4847
13
test/CFrontend/2002-07-30-SubregSetAssertion.c
Normal file
13
test/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