xref: /minix3/external/bsd/llvm/dist/clang/test/Preprocessor/cxx_true.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 /* RUN: %clang_cc1 -E %s -x c++ | grep block_1
2    RUN: %clang_cc1 -E %s -x c++ | not grep block_2
3    RUN: %clang_cc1 -E %s -x c | not grep block
4    RUN: %clang_cc1 -E %s -x c++ -verify -Wundef
5 */
6 // expected-no-diagnostics
7 
8 #if true
9 block_1
10 #endif
11 
12 #if false
13 block_2
14 #endif
15 
16