aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/preprocessor2.c
blob: 340938ee96dc905e818e116b7dbefe0c90ef28d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * This one we happen to get right.
 *
 * It should result in a simple
 *
 *	a + b
 *
 * for a proper preprocessor.
 */
#define TWO a, b

#define UNARY(x) BINARY(x)
#define BINARY(x, y) x + y

UNARY(TWO)