[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Preprocessor / cxx_true.cpp
blobf6dc459e2c1f5aa3f4afa5a7e202dd7abebb03f7
1 /* RUN: %clang_cc1 -E %s -x c++ | FileCheck -check-prefix CPP %s
2 RUN: %clang_cc1 -E %s -x c | FileCheck -check-prefix C %s
3 RUN: %clang_cc1 -E %s -x c++ -verify -Wundef
4 */
5 // expected-no-diagnostics
7 #if true
8 // CPP: test block_1
9 // C-NOT: test block_1
10 test block_1
11 #endif
13 #if false
14 // CPP-NOT: test block_2
15 // C-NOT: test block_2
16 test block_2
17 #endif