scc

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

0152-cat.c (193B)


      1 #define CAT(x,y) x ## y
      2 #define XCAT(x,y) CAT(x,y)
      3 #define FOO foo
      4 #define BAR bar
      5 
      6 int
      7 main(void)
      8 {
      9 	int foo, bar, foobar;
     10 
     11 	CAT(foo,bar) = foo + bar;
     12 	XCAT(FOO,BAR) = foo + bar;
     13 	return 0;
     14 }