Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -fno-rtti -emit-llvm -triple=i386-pc-win32 -fms-extensions -fms-compatibility -std=c++11 %s -o - | FileCheck %s
      2 
      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: @"\01?MemPtr@PR23452@@3P8B@1@AEXXZQ21@" = global { i8*, i32, i32 } { i8* bitcast ({{.*}} @"\01??_9B@PR23452@@$BA@AE" to i8*), i32 0, i32 4 }
     12 }
     13