Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Preprocessor / cxx_or.cpp
blobe8ed92fd062bc0442d59f3a2a935befb3439056b
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
11 #if defined(A) || defined(B)
12 #define Y 37
13 #else
14 #define Y 927
15 #endif
17 int a = X == Y;