[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / derived-to-virtual-base-class-calls-final.cpp
blob3a4766de321a5443f15ad460826c385fd9787840
1 // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
3 struct A { int i; };
4 struct B { char j; };
5 struct C : A, B { int k; };
7 struct D final : virtual C {
8 D();
9 virtual void f();
12 // CHECK-LABEL: define {{.*}}dereferenceable({{[0-9]+}}) %struct.B* @_Z1fR1D
13 B &f(D &d) {
14 // CHECK-NOT: load i8*, i8**
15 return d;