Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
85df96c1f04867e26ba069aa0cc6a4cd6a01292e
/
.
/
test
/
CodeGenCXX
/
virtual-pseudo-destructor-call.cpp
blob: 0d3574e46d336f06d9f4267789beb5a5a8720bde [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
struct
A
{
virtual
~
A
();
};
void
f
(
A
*
a
)
{
// CHECK: define {{.*}} @_Z1fP1A
// CHECK: load
// CHECK: load
// CHECK: [[CALLEE:%[a-zA-Z0-9.]*]] = load
// CHECK: call {{.*}} [[CALLEE]](
a
->~
A
();
}