mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6279 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
45aebdd04a
commit
f7b1bdf3b6
10
test/C++Frontend/2003-05-22-LocalTypeTest.c
Normal file
10
test/C++Frontend/2003-05-22-LocalTypeTest.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
struct sometimes {
|
||||||
|
short offset; short bit;
|
||||||
|
short live_length; short calls_crossed;
|
||||||
|
} Y;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
struct sometimes { int X, Y; } S;
|
||||||
|
S.X = 1;
|
||||||
|
return Y.offset;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user