• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  */
21