0069-funclikemacro.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
---
0069-funclikemacro.c (131B)
---
1 #define A 3
2 #define FOO(X,Y,Z) X + Y + Z
3 #define SEMI ;
4
5 int
6 main()
7 {
8 if(FOO(1, 2, A) != 6)
9 return 1 SEMI
10 return FOO(0,0,0);
11 }