states: rename unreachable() to is_unreachable()
[smatch.git] / validation / preprocessor / expand-redef.c
blob0ccf0d4c9bd81056b2b99393d5af7cbd5e135c5f
1 #define f(x) x x
2 f(1
3 #undef f
4 #define f 2
5 f)
7 /*
8 * check-name: expand-redef
9 * check-command: sparse -E $file
11 * check-output-start
13 1 2 1 2
14 * check-output-end
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