Add test-suite comments to all the obvious preprocessor tests
[smatch.git] / validation / preprocessor / preprocessor10.c
blobb6555dca42043a892eac4734890d3273b95c2aaa
1 /* concatenation of 'defi' and 'ned' should result in the same token
2 * we would get if we had 'defined' in the input stream.
3 */
4 #define A
5 #define B defi ## ned
6 #if B(A)
7 defined
8 #else
9 undefined
10 #endif
12 * check-name: Preprocessor #10
14 * check-command: sparse -E $file
15 * check-exit-value: 0
17 * check-output-start
19 defined
20 * check-output-end