You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
291 B
15 lines
291 B
4 months ago
|
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -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();
|
||
|
}
|