scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | 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 }