Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
0063e98f596f09233c0daaad051fca9e1df15d5a
/
.
/
test
/
Preprocessor
/
cxx_not.cpp
blob: 2272941b68da0916c53d3fbcb9113c1fed0eb4bf [
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
;