returns: add a check for __inline_fn
[smatch.git] / validation / preprocessor / preprocessor13.c
blobb1af8555a3ec11ef98ad842f61c66474327e1d5f
1 /*
2 * GNU kludge, corner case
3 */
4 #define A(x,...) x##,##__VA_ARGS__
5 A(1)
6 A(1,2)
7 A(1,2,3)
8 /*
9 * check-name: Preprocessor #13
10 * check-command: sparse -E $file
12 * check-output-start
15 1,2
16 1,2,3
17 * check-output-end
19 * check-error-start
20 preprocessor/preprocessor13.c:6:1: error: '##' failed: concatenation is not a valid token
21 preprocessor/preprocessor13.c:7:1: error: '##' failed: concatenation is not a valid token
22 * check-error-end