Chris Lattner | c5b966f | 2006-11-21 17:31:32 +0000 | [diff] [blame^] | 1 | // RUN: clang -E %s | grep 'a: "and"' |
2 | |||||
3 | #define X(A) #A | ||||
4 | |||||
5 | // C++'03 2.5p2: "In all respects of the language, each alternative | ||||
6 | // token behaves the same, respectively, as its primary token, | ||||
7 | // except for its spelling" | ||||
8 | // | ||||
9 | // This should be spelled as 'and', not '&&' | ||||
10 | a: X(and) | ||||
11 |