[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / pr30731.cpp
blob36da43fe29b08ae6ffd21df7767b179f47e42def
1 // RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -flto -std=c++11 -o - %s | FileCheck %s
3 struct A {
4 virtual ~A();
5 };
7 struct B {};
9 struct C {
10 virtual void f();
13 struct S : A, virtual B, C {
14 void f() override;
17 void f(S* s) { s->f(); }
19 // CHECK-LABEL: define dso_local void @"?f@@YAXPAUS@@@Z"
20 // CHECK: call
21 // CHECK: ret void