0220-comma.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
---
0220-comma.c (127B)
---
1 int a;
2
3 int
4 f1()
5 {
6 return a = 2;
7 }
8
9 int
10 f2()
11 {
12 return a += 1;
13 }
14
15 int
16 main()
17 {
18 if (f1(), f2() != 3)
19 return 1;
20 return 0;
21 }