scc

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

0140-int-fold.c (274B)


      1 int
      2 main(void)
      3 {
      4 	int i;
      5 
      6 	i = 1 + 2;
      7 	i = 2 - 1;
      8 	i = 3 * 6;
      9 	i = 10 / 5;
     10 	i = 10 % 5;
     11 	i = i % 0;
     12 	i = i % 0;
     13 	i = 1 << 3;
     14 	i = 8 >> 2;
     15 	i = 12 & 4;
     16 	i = 8 | 4;
     17 	i = 12 ^ 4;
     18 	i = -(3);
     19 	i = ~12;
     20 	i = 1 < 3;
     21 	i = 2 > 3;
     22 	i = 2 >= 3;
     23 	i = 2 <= 3;
     24 	i = 1 == 0;
     25 
     26 	return 0;
     27 }