scc

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

0112-cond.c (104B)


      1 int
      2 main()
      3 {
      4 	int x = 0;
      5 	int y = 1;
      6 	if(x ? 1 : 0)
      7 		return 1;
      8 	if(y ? 0 : 1)
      9 		return 2;
     10 	return 0;
     11 }