scc

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

0143-int-const.c (262B)


      1 main(void)
      2 {
      3 	int i;
      4 	unsigned u;
      5 
      6 	i = 1;
      7 	i = -1;
      8 	i = -1l;
      9 	i = -1u;
     10 	i = -1ll;
     11 	i = 32766 + 1 & 3;
     12 	i = (int) 32768 < 0;
     13 	i = -1u < 0;
     14 
     15 	u = 1;
     16 	u = -1;
     17 	u = -1l;
     18 	u = -1u;
     19 	u = -1ll;
     20 	u = (unsigned) 32768 < 0;
     21 	u = 32766 + 1 & 3;
     22 	u = -1u < 0;
     23 	return 0;
     24 }