0018-structptr.c (120B)
1 int 2 main() 3 { 4 5 struct S { int x; int y; } s; 6 struct S *p; 7 8 p = &s; 9 s.x = 1; 10 p->y = 2; 11 return p->y + p->x - 3; 12 } 13
sccsimple C compiler | |
git clone git://git.2f30.org/scc | |
Log | Files | Refs | README | LICENSE |