scc

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

0224-macro.c (341B)


      1 #define _PROTOTYPE(x, y) x y
      2 
      3 _PROTOTYPE(int fun, (char *s, int n, const char *format, char *arg)    );
      4 
      5 _PROTOTYPE(int fun, (char *s, int n, const char *format,
      6                                                   char *arg)    );
      7 
      8 int
      9 fun(char *s, int n, const char *format, char *arg)
     10 {
     11 	return 0;
     12 }
     13 
     14 int
     15 main()
     16 {
     17 	return fun(0, 0, 0, 0);
     18 }