aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/delete-two-arg.cpp
blob: a5b18ba06fc358721c784ce83e552e831667dee2 (plain) (blame)
1
2
3
4
5
6
// RUN: clang-cc -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* %0, i32 4)