2010-01-01 10:34:51 +00:00
|
|
|
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
|
2009-12-15 18:49:47 +00:00
|
|
|
|
|
|
|
struct A { virtual void a(); };
|
|
|
|
struct B : A {};
|
|
|
|
struct C : B { virtual void a(); };
|
|
|
|
void (C::*x)() = &C::a;
|
|
|
|
|
2011-07-17 15:40:56 +00:00
|
|
|
// CHECK: @x = global { i{{[0-9]+}}, i{{[0-9]+}} } { i{{[0-9]+}} 1, i{{[0-9]+}} 0 }
|