Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
e23fa2d0e84d1b878e012442a726c664216a9adf
/
.
/
test
/
Preprocessor
/
cxx_not.cpp
blob: dd3190117d92ccc1d6a90cb2af6ce0ca725d1be7 [
file
] [
log
] [
blame
]
// RUN: clang-cc -DA=1 -E %s | grep 'int a = 927 == 927' &&
// RUN: clang-cc -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
;