Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / microsoft-abi-vmemptr-vbase.cpp
blob342e9b34c8e1923714aa45c3b21b6a0f407f2855
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 { ptr, i32, i32 } { ptr @"??_9B@PR23452@@$BA@AE", i32 0, i32 4 }