scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

0154-if-defined.c (162B)


      1 #if defined(FOO)
      2 int a;
      3 #elif !defined(FOO) && defined(BAR)
      4 int b;
      5 #elif !defined(FOO) && !defined(BAR)
      6 int c;
      7 #else
      8 int d;
      9 #endif
     10 
     11 int
     12 main(void)
     13 {
     14 	return c;
     15 }