xref: /illumos-gate/usr/src/tools/smatch/src/validation/preprocessor/preprocessor2.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 #define TWO a, b
2 
3 #define UNARY(x) BINARY(x)
4 #define BINARY(x, y) x + y
5 
6 UNARY(TWO)
7 /*
8  * check-name: Preprocessor #2
9  * check-command: sparse -E $file
10  *
11  * check-output-start
12 
13 a + b
14  * check-output-end
15  */
16