repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
virtual-pseudo-destructor-call.cpp
blob
b14a34d8b587835ba7446e2b9ba9e1339d8b40a2
1
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
2
3
struct
A
{
4
virtual
~
A
();
5
};
6
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
();
14
}