mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
more fixes to C code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aac388b363
commit
cabc8469f2
@ -2792,16 +2792,16 @@ compiled to LLVM:</p>
|
||||
<pre>
|
||||
struct RT {
|
||||
char A;
|
||||
i32 B[10][20];
|
||||
int B[10][20];
|
||||
char C;
|
||||
};
|
||||
struct ST {
|
||||
i32 X;
|
||||
int X;
|
||||
double Y;
|
||||
struct RT Z;
|
||||
};
|
||||
|
||||
i32 *foo(struct ST *s) {
|
||||
int *foo(struct ST *s) {
|
||||
return &s[1].Z.B[5][13];
|
||||
}
|
||||
</pre>
|
||||
|
Loading…
Reference in New Issue
Block a user