xref: /illumos-gate/usr/src/tools/smatch/src/validation/preprocessor/preprocessor9.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 /* Only # in the input stream marks the beginning of preprocessor command,
2  * and here we get it from macro expansion.
3  */
4 #define A # define X 1
5 A
6 X
7 /*
8  * check-name: Preprocessor #9
9  * check-command: sparse -E $file
10  *
11  * check-output-start
12 
13 # define X 1
14 X
15  * check-output-end
16  */
17