blob: 3eb6b5da7d0c1d1744073bb4570251ae13e43e67 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
Eli Friedmanea5ae312009-12-15 03:31:17 +00002
3struct A { virtual void a(); };
4struct B : A {};
5struct C : B { virtual void a(); };
6void (C::*x)() = &C::a;
7
8// CHECK: @x = global %0 { i{{[0-9]+}} 1, i{{[0-9]+}} 0 }