annotate clang/test/Preprocessor/cxx_or.cpp @ 165:597b3f1c2c93
fix call createTailCallEliminationPass
author |
anatofuz |
date |
Tue, 24 Mar 2020 15:30:52 +0900 |
parents |
1d019706d866 |
children |
|
rev |
line source |
150
|
1 // RUN: %clang_cc1 -DA -DB -E %s | grep 'int a = 37 == 37'
|
|
2 // RUN: %clang_cc1 -DA -E %s | grep 'int a = 37 == 37'
|
|
3 // RUN: %clang_cc1 -DB -E %s | grep 'int a = 37 == 37'
|
|
4 // RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
|
|
5 #if defined(A) or defined(B)
|
|
6 #define X 37
|
|
7 #else
|
|
8 #define X 927
|
|
9 #endif
|
|
10
|
|
11 #if defined(A) || defined(B)
|
|
12 #define Y 37
|
|
13 #else
|
|
14 #define Y 927
|
|
15 #endif
|
|
16
|
|
17 int a = X == Y;
|