mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +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>
|
<pre>
|
||||||
struct RT {
|
struct RT {
|
||||||
char A;
|
char A;
|
||||||
i32 B[10][20];
|
int B[10][20];
|
||||||
char C;
|
char C;
|
||||||
};
|
};
|
||||||
struct ST {
|
struct ST {
|
||||||
i32 X;
|
int X;
|
||||||
double Y;
|
double Y;
|
||||||
struct RT Z;
|
struct RT Z;
|
||||||
};
|
};
|
||||||
|
|
||||||
i32 *foo(struct ST *s) {
|
int *foo(struct ST *s) {
|
||||||
return &s[1].Z.B[5][13];
|
return &s[1].Z.B[5][13];
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user