annotate clang/test/Preprocessor/cxx_oper_spelling.cpp @ 165:597b3f1c2c93

fix call createTailCallEliminationPass
author anatofuz
date Tue, 24 Mar 2020 15:30:52 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -E %s | FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 #define X(A) #A
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 // C++'03 2.5p2: "In all respects of the language, each alternative
anatofuz
parents:
diff changeset
6 // token behaves the same, respectively, as its primary token,
anatofuz
parents:
diff changeset
7 // except for its spelling"
anatofuz
parents:
diff changeset
8 //
anatofuz
parents:
diff changeset
9 // This should be spelled as 'and', not '&&'
anatofuz
parents:
diff changeset
10 a: X(and)
anatofuz
parents:
diff changeset
11 // CHECK: a: "and"
anatofuz
parents:
diff changeset
12