Home
       0088-macros.c - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       0088-macros.c (428B)
       ---
            1 #define ZERO_0() 0
            2 #define ZERO_1(A) 0
            3 #define ZERO_2(A, B) 0
            4 #define ZERO_VAR(...) 0
            5 #define ZERO_1_VAR(A, ...) 0
            6 
            7 int
            8 main()
            9 {
           10         if (ZERO_0())
           11                 return 1;
           12         if (ZERO_1(1))
           13                 return 1;
           14         if (ZERO_2(1, 2))
           15                 return 1;
           16         if (ZERO_VAR())
           17                 return 1;
           18         if (ZERO_VAR(1))
           19                 return 1;
           20         if (ZERO_VAR(1, 2))
           21                 return 1;
           22         if (ZERO_1_VAR(1))
           23                 return 1;
           24         if (ZERO_1_VAR(1, 2))
           25                 return 1;
           26         if (ZERO_1_VAR(1, 2, 3))
           27                 return 1;
           28                 
           29         return 0;
           30 }