[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / microsoft-abi-vmemptr-vbase.cpp
blob972428af80e3e1a9a509e11c6387129defcd7a9b
1 // RUN: %clang_cc1 -fno-rtti -emit-llvm -triple=i386-pc-win32 -fms-extensions -fms-compatibility -std=c++11 %s -o - | FileCheck %s
3 namespace PR23452 {
4 struct A {
5 virtual void f();
6 };
7 struct B : virtual A {
8 virtual void f();
9 };
10 void (B::*MemPtr)(void) = &B::f;
11 // CHECK-DAG: @"?MemPtr@PR23452@@3P8B@1@AEXXZQ21@" = dso_local global { i8*, i32, i32 } { i8* bitcast ({{.*}} @"??_9B@PR23452@@$BA@AE" to i8*), i32 0, i32 4 }