[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Lexer / has_feature_leak_sanitizer.cpp
blob00ca96f4ba73f2266afce679fa566cdfe4f3e57d
1 // RUN: %clang_cc1 -E -fsanitize=leak %s -o - | FileCheck --check-prefix=CHECK-LSAN %s
2 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-LSAN %s
4 #if __has_feature(leak_sanitizer)
5 int LeakSanitizerEnabled();
6 #else
7 int LeakSanitizerDisabled();
8 #endif
10 // CHECK-LSAN: LeakSanitizerEnabled
11 // CHECK-NO-LSAN: LeakSanitizerDisabled