1 // RUN: %clang_cc1 %s -triple %itanium_abi_triple -std=c++11 -emit-llvm -o - | FileCheck %s
2
3 class A {
4 virtual void f();
5 virtual void g();
6 virtual ~A();
7 };
8
f()9 void A::f() {}
10
11 // CHECK: define {{(dso_local )?}}[[CC:(x86_thiscallcc )?]]void @_ZN1A1fEv({{.*}}) unnamed_addr
12 // CHECK: declare {{(dso_local )?}}[[CC]]void @_ZN1A1gEv({{.*}}) unnamed_addr
13 // CHECK: declare {{.*}} @_ZN1AD1Ev({{.*}}) unnamed_addr
14 // CHECK: declare {{(dso_local )?}}[[CC]]void @_ZN1AD0Ev({{.*}}) unnamed_addr
15