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:
Chris Lattner 2007-05-29 15:43:56 +00:00
parent aac388b363
commit cabc8469f2

View File

@ -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 &amp;s[1].Z.B[5][13]; return &amp;s[1].Z.B[5][13];
} }
</pre> </pre>