Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
      2 
      3 struct A { virtual void a(); };
      4 struct B : A {};
      5 struct C : B { virtual void a(); };
      6 void (C::*x)() = &C::a;
      7 
      8 // CHECK: @x = global { i{{[0-9]+}}, i{{[0-9]+}} } { i{{[0-9]+}} 1, i{{[0-9]+}} 0 }
      9