Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f94e215e4a67e5439d56a67bbe470c7860d4b9a6
/
.
/
test
/
Preprocessor
/
cxx_not.cpp
blob: 2587b0ab994c981dfaebe937fb12a9c9d7537e35 [
file
] [
log
] [
blame
]
// RUN: clang -DA=1 -E %s | grep 'int a = 927 == 927' &&
// RUN: clang -E %s | grep 'int a = 37 == 37'
#if not defined(A)
#define
X
37
#else
#define
X
927
#endif
#if ! defined(A)
#define
Y
37
#else
#define
Y
927
#endif
int
a
=
X
==
Y
;