1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
9 lines
248 B
C++
9 lines
248 B
C++
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
|
|
|
|
struct A { virtual void a(); };
|
|
struct B : A {};
|
|
struct C : B { virtual void a(); };
|
|
void (C::*x)() = &C::a;
|
|
|
|
// CHECK: @x = global { i{{[0-9]+}}, i{{[0-9]+}} } { i{{[0-9]+}} 1, i{{[0-9]+}} 0 }
|