☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Preprocessor
/
cxx_not.cpp
☽
☼
clang/test/Preprocessor/cxx_not.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -DA=1 -E %s | grep 'int a = 927 == 927'
2
// RUN: %clang_cc1 -E %s | grep 'int a = 37 == 37'
3
#if not defined(A)
4
#define X 37
5
#else
6
#define X 927
7
#endif
8
9
#if ! defined(A)
10
#define Y 37
11
#else
12
#define Y 927
13
#endif
14
15
int a = X == Y;