Skip to content

Instantly share code, notes, and snippets.

@vladimir-vg
Created May 10, 2011 13:34
Show Gist options
  • Save vladimir-vg/964474 to your computer and use it in GitHub Desktop.
Save vladimir-vg/964474 to your computer and use it in GitHub Desktop.
$ cat test1.c
#include <stdio.h>
int main() {
int *a;
printf("addr:%d\n", (int)a);
return 0;
}
$ cat test2.c
#include <stdio.h>
int main() {
int ************a;
printf("addr:%d\n", (int)a);
return 0;
}
$ gcc -O0 test1.c -S && gcc -O0 test2.c -S
$ diff test1.s test2.s
1c1
< .file "test1.c"
---
> .file "test2.c"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment