scc

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

0065-ifdef.c (145B)


      1 #ifdef FOO
      2 	XXX
      3 #ifdef BAR
      4 	XXX
      5 #endif
      6 	XXX
      7 #endif
      8 
      9 #define FOO 1
     10 
     11 #ifdef FOO
     12 
     13 #ifdef FOO
     14 int x = 0;
     15 #endif
     16 
     17 int
     18 main()
     19 {
     20 	return x;
     21 }
     22 #endif
     23 
     24 
     25