repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Preprocessor
/
cxx_not.cpp
blob
67e8775295ad70235bdb66c729a2e47823ceba28
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
;