scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

0007-forstmt.c (127B)


      1 int
      2 main()
      3 {
      4 	int x;
      5 	
      6 	x = 1;
      7 	for(x = 10; x; x = x - 1)
      8 		;
      9 	if(x)
     10 		return 1;
     11 	x = 10;
     12 	for (;x;)
     13 		x = x - 1;
     14 	return x;
     15 }