xref: /illumos-gate/usr/src/tools/smatch/src/validation/preprocessor/preprocessor1.c (revision edd4c52697927997fb1ce3c2c4c425e5ca3a56d6)
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