repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add test-suite comments to all the obvious preprocessor tests
[smatch.git]
/
validation
/
preprocessor
/
preprocessor10.c
blob
b6555dca42043a892eac4734890d3273b95c2aaa
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
11
/*
12
* check-name: Preprocessor #10
13
*
14
* check-command: sparse -E $file
15
* check-exit-value: 0
16
*
17
* check-output-start
18
19
defined
20
* check-output-end
21
*/