scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | 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