Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
4a529d26d6ccfc9b3d11031f1256f4f87055c562
/
.
/
test
/
Preprocessor
/
cxx_true.cpp
blob: 5ee29720d3d70d9e63e5ac0a94cdef96dfac0c10 [
file
] [
log
] [
blame
]
/* RUN: %clang_cc1 -E %s -x c++ | grep block_1
RUN: %clang_cc1 -E %s -x c++ | not grep block_2
RUN: %clang_cc1 -E %s -x c | not grep block
RUN: %clang_cc1 -E %s -x c++ -verify -Wundef
*/
#if true
block_1
#endif
#if false
block_2
#endif