[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Preprocessor / cxx_bitor.cpp
blobc92596e5e1755a97d0be0da0c2ca508f045b0b97
1 // RUN: %clang_cc1 -DA=1 -DB=1 -E %s | grep 'int a = 37 == 37'
2 // RUN: %clang_cc1 -DA=0 -DB=1 -E %s | grep 'int a = 37 == 37'
3 // RUN: %clang_cc1 -DA=1 -DB=0 -E %s | grep 'int a = 37 == 37'
4 // RUN: %clang_cc1 -DA=0 -DB=0 -E %s | grep 'int a = 927 == 927'
5 // RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
6 #if A bitor B
7 #define X 37
8 #else
9 #define X 927
10 #endif
12 #if A | B
13 #define Y 37
14 #else
15 #define Y 927
16 #endif
18 int a = X == Y;