side_effects: the iterate_all_kinds() macro has side effects deliberately
[smatch.git] / validation / preprocessor / preprocessor2.c
blob56abb53cf6405b11c84506ffda83eea9f94d1053
1 #define TWO a, b
3 #define UNARY(x) BINARY(x)
4 #define BINARY(x, y) x + y
6 UNARY(TWO)
7 /*
8 * check-name: Preprocessor #2
9 * check-command: sparse -E $file
11 * check-output-start
13 a + b
14 * check-output-end