0175-defined.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
---
0175-defined.c (189B)
---
1 #if defined X
2 X
3 #endif
4
5 #if defined(X)
6 X
7 #endif
8
9 #if X
10 X
11 #endif
12
13 #define X 0
14
15 #if X
16 X
17 #endif
18
19 #if defined(X)
20 int x = 0;
21 #endif
22
23 #undef X
24 #define X 1
25
26 #if X
27 int
28 main()
29 {
30 return 0;
31 }
32 #endif