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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
Preprocessor
/
cxx_compl.cpp
blob
824092c16f5044b0d397db4b4464c14eedc5cda2
1
// RUN: %clang_cc1 -DA=1 -E %s | grep 'int a = 37 == 37'
2
// RUN: %clang_cc1 -DA=0 -E %s | grep 'int a = 927 == 927'
3
// RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
4
#if compl 0 bitand A
5
#define X 37
6
#else
7
#define X 927
8
#endif
9
10
#if ~0 & A
11
#define Y 37
12
#else
13
#define Y 927
14
#endif
15
16
int
a
=
X
==
Y
;