1struct S *x;2struct S {3 int i;4 struct S *next;5};67int8main(void)9{10 struct S y, *p;11 unsigned n;1213 y.i = 0;14 y.next = 0;15 x = &y;16 *x = y;1718 for (n = 0, p = &y; p; ++n, p = p->next)19 ;20 return n-1;21}
A fork of https://git.simple-cc.org/scc/ for Qute
git clone https://git.8pit.net/scc.git
1struct S *x;2struct S {3 int i;4 struct S *next;5};67int8main(void)9{10 struct S y, *p;11 unsigned n;1213 y.i = 0;14 y.next = 0;15 x = &y;16 *x = y;1718 for (n = 0, p = &y; p; ++n, p = p->next)19 ;20 return n-1;21}