scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

0019-selfrefstruct.c (104B)


      1 int
      2 main()
      3 {
      4 	struct S { struct S *p; int x; } s;
      5 	
      6 	s.x = 0;
      7 	s.p = &s;
      8 	return s.p->p->p->p->p->x;
      9 }
     10