scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | 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 }