scc

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

0066-cppelse.c (175B)


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