Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
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
;