codegen for dereference, subscript
This commit is contained in:
parent
0a14c8ca2a
commit
0ee06ac2c4
4 changed files with 90 additions and 24 deletions
|
@ -1,7 +1,6 @@
|
|||
static char x = -2;
|
||||
|
||||
long main(int argc, char **argv) {
|
||||
int y = 38;
|
||||
int z = y + x;
|
||||
return z + x;
|
||||
int y[] = {38, 55, -22};
|
||||
int *z = (y+2)[-1];
|
||||
return *z;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue