2016-03-15 02:41:59 +08:00
|
|
|
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -std=c++11 -emit-llvm -o - | FileCheck %s
|
|
|
|
|
|
|
|
class A {
|
|
|
|
virtual void f();
|
|
|
|
virtual void g();
|
|
|
|
virtual ~A();
|
|
|
|
};
|
|
|
|
|
|
|
|
void A::f() {}
|
|
|
|
|
2016-03-15 07:00:44 +08:00
|
|
|
// CHECK: define [[CC:(x86_thiscallcc )?]]void @_ZN1A1fEv({{.*}}) unnamed_addr
|
|
|
|
// CHECK: declare [[CC]]void @_ZN1A1gEv({{.*}}) unnamed_addr
|
2016-03-15 04:13:59 +08:00
|
|
|
// CHECK: declare {{.*}} @_ZN1AD1Ev({{.*}}) unnamed_addr
|
2016-03-15 07:00:44 +08:00
|
|
|
// CHECK: declare [[CC]]void @_ZN1AD0Ev({{.*}}) unnamed_addr
|