Home
       0176-macro.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
       ---
       0176-macro.c (223B)
       ---
            1 #ifdef __STDC__
            2 #define __(proto) proto
            3 #else
            4 #define __(proto) ()
            5 #endif
            6 
            7 extern int func __((int, int));
            8 
            9 int
           10 main()
           11 {
           12         int (*fun)(int,int) = func;
           13 
           14         return (*func)(2, 1);
           15 }
           16 
           17 int
           18 func(int a, int b)
           19 {
           20         return a - b - 1;
           21 }