summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/cxx_true.cpp
blob: b123e0cb681affc65af44faa50b463804d622773 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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
*/

#if true
block_1
#endif

#if false
block_2
#endif