0031-relop.c - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) 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