blob: 2b084e0960a32c85c237cc4a6d395a60a79912e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* Original definitions. */
#define TWO ( 1+1 )
#define FOUR (2 + 2)
#define SIX (3 + 3)
#define EIGHT (8 + 8)
/* Redefinitions with whitespace in same places, but different amounts, (so no
* error). */
#define TWO ( 1+1 )
#define FOUR (2 + 2)
#define SIX (3/*comment is whitespace*/+ /* collapsed */ /* to */ /* one */ /* space */ 3)
/* Trailing whitespace (no error) */
#define EIGHT (8 + 8)
/* Redefinitions with whitespace in different places. Each of these should
* trigger an error. */
#define TWO (1 + 1)
#define FOUR ( 2+2 )
#define SIX (/*not*/3 + 3/*expected*/)
|