• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -DA -DB -E %s | grep 'int a = 37 == 37'
2 // RUN: %clang_cc1 -DA -E %s | grep 'int a = 927 == 927'
3 // RUN: %clang_cc1 -DB -E %s | grep 'int a = 927 == 927'
4 // RUN: %clang_cc1 -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;
18