2014-01-15 03:35:09 +08:00
|
|
|
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -g -S -emit-llvm -o - | FileCheck %s
|
2012-10-25 18:18:50 +08:00
|
|
|
|
|
|
|
struct A {
|
|
|
|
virtual void f();
|
|
|
|
};
|
|
|
|
|
|
|
|
struct B {
|
|
|
|
virtual void f();
|
|
|
|
};
|
|
|
|
|
|
|
|
struct C : A, B {
|
|
|
|
virtual void f();
|
|
|
|
};
|
|
|
|
|
|
|
|
void C::f() { }
|
|
|
|
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK: !MDSubprogram(linkageName: "_ZThn{{[48]}}_N1C1fEv"
|
|
|
|
// CHECK-SAME: line: 15
|
|
|
|
// CHECK-SAME: isDefinition: true
|
|
|
|
// CHECK-SAME: ){{$}}
|