[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / pr18661.cpp
blobdc9f4ac32d0af3b8bf46da87a908a256d0c6f20d
1 // RUN: %clang_cc1 %s -triple %itanium_abi_triple -fcxx-exceptions -fms-compatibility -emit-llvm -o - | FileCheck %s
3 extern "C" {
4 void f();
6 // In MS mode we don't validate the exception specification.
7 void f() throw() {
11 // PR18661: Clang would fail to emit function definition with mismatching
12 // exception specification, even though it was just treated as a warning.
14 // CHECK: define {{.*}}void @f()