extra: get max correctly
[smatch.git] / validation / preprocessor / preprocessor19.c
blobe70dad1e8810e4d0c0c8e04fd7f9713be25aa9b4
1 /* got burned by that - freed the new definition in the case when we had
2 warned and replaced the old one */
3 #define A x
4 #define A y
6 /*
7 * check-name: Preprocessor #19
8 * check-command: sparse -E $file
10 * check-output-start
13 * check-output-end
14 * check-error-start
15 preprocessor/preprocessor19.c:4:9: warning: preprocessor token A redefined
16 preprocessor/preprocessor19.c:3:9: this was the original definition
17 * check-error-end