Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 1 | // RUN: clang -DA -DB -E %s | grep 'int a = 37 == 37' && |
2 | // RUN: clang -DA -E %s | grep 'int a = 927 == 927' && | ||||
3 | // RUN: clang -DB -E %s | grep 'int a = 927 == 927' && | ||||
4 | // RUN: clang -E %s | grep 'int a = 927 == 927' | ||||
5 | #if defined(A) and 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; |