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
states: rename unreachable() to is_unreachable()
[smatch.git]
/
validation
/
preprocessor
/
expand-redef.c
blob
0ccf0d4c9bd81056b2b99393d5af7cbd5e135c5f
1
#define f(x) x x
2
f
(
1
3
#undef f
4
#define f 2
5
f
)
6
7
/*
8
* check-name: expand-redef
9
* check-command: sparse -E $file
10
*
11
* check-output-start
12
13
1 2 1 2
14
* check-output-end
15
*
16
* check-error-start
17
preprocessor/expand-redef.c:3:1: warning: directive in macro's argument list
18
preprocessor/expand-redef.c:4:1: warning: directive in macro's argument list
19
* check-error-end
20
*/