xref: /illumos-gate/usr/src/tools/smatch/src/validation/preprocessor/preprocessor1.c (revision 1da57d551424de5a9d469760be7c4b4d4f10a755)
1 #define func(x) x
2 #define bar func(
3 #define foo bar foo
4 foo )
5 /*
6  * check-name: Preprocessor #1
7  * check-description: Used to cause infinite recursion.
8  * check-command: sparse -E $file
9  *
10  * check-output-start
11 
12 foo
13  * check-output-end
14  */
15