2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
|
2009-12-15 11:31:17 +08:00
|
|
|
|
|
|
|
struct A { virtual void a(); };
|
|
|
|
struct B : A {};
|
|
|
|
struct C : B { virtual void a(); };
|
|
|
|
void (C::*x)() = &C::a;
|
|
|
|
|
|
|
|
// CHECK: @x = global %0 { i{{[0-9]+}} 1, i{{[0-9]+}} 0 }
|