1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -DA=1 -E %s | grep 'int a = 927 == 927' 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E %s | grep 'int a = 37 == 37' 3*f4a2713aSLionel Sambuc #if not defined(A) 4*f4a2713aSLionel Sambuc #define X 37 5*f4a2713aSLionel Sambuc #else 6*f4a2713aSLionel Sambuc #define X 927 7*f4a2713aSLionel Sambuc #endif 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc #if ! defined(A) 10*f4a2713aSLionel Sambuc #define Y 37 11*f4a2713aSLionel Sambuc #else 12*f4a2713aSLionel Sambuc #define Y 927 13*f4a2713aSLionel Sambuc #endif 14*f4a2713aSLionel Sambuc 15*f4a2713aSLionel Sambuc int a = X == Y; 16