blob: 5152977ba2c446cffd85a39dfcab0d0609f20730 [file] [log] [blame]
Reid Klecknere4943992013-04-10 21:10:39 +00001// RUN: %clang_cc1 -E %s | FileCheck %s
Chris Lattnerc5b966f2006-11-21 17:31:32 +00002
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 '&&'
10a: X(and)
Reid Klecknere4943992013-04-10 21:10:39 +000011// CHECK: a: "and"
Chris Lattnerc5b966f2006-11-21 17:31:32 +000012