00049.c (154B)
1 int x = 10; 2 3 struct S {int a; int *p;}; 4 struct S s = { .p = &x, .a = 1}; 5 6 int 7 main() 8 { 9 if(s.a != 1) 10 return 1; 11 if(*s.p != 10) 12 return 2; 13 return 0; 14 }
boot2Playing with the boostrap | |
| git clone https://git.ryansepassi.com/git/boot2.git | |
| Log | Files | Refs | README |