Sign in
llvm
/
clang
/
refs/heads/release_27
/
.
/
test
/
CodeGenCXX
/
delete-two-arg.cpp
blob: 5358747fed7b3d2b19a2c75547d25fb58cebba16 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -triple i686-pc-linux-gnu %s -o - -emit-llvm -verify | FileCheck %s
struct
A
{
void
operator
delete
(
void
*,
__typeof
(
sizeof
(
int
)));
int
x
;
};
void
a
(
A
*
x
)
{
delete
x
;
}
// CHECK: call void @_ZN1AdlEPvj(i8* %{{.*}}, i32 4)