[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / virtual-pseudo-destructor-call.cpp
blobb14a34d8b587835ba7446e2b9ba9e1339d8b40a2
1 // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
3 struct A {
4 virtual ~A();
5 };
7 void f(A *a) {
8 // CHECK: define {{.*}} @_Z1fP1A
9 // CHECK: load
10 // CHECK: load
11 // CHECK: [[CALLEE:%[a-zA-Z0-9.]*]] = load
12 // CHECK: call {{.*}} [[CALLEE]](
13 a->~A();