scc

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

0031-relop.c (230B)


      1 int
      2 f()
      3 {
      4 	return 100;
      5 }
      6 
      7 int
      8 main()
      9 {
     10 	if (f() > 1000)
     11 		return 1;
     12 	if (f() >= 1000)
     13 		return 1;
     14 	if (1000 < f())
     15 		return 1;
     16 	if (1000 <= f())
     17 		return 1;
     18 	if (1000 == f())
     19 		return 1;
     20 	if (100 != f())
     21 		return 1;
     22 	return 0;
     23 }
     24