summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/delete-two-arg.cpp
blob: d6bdb098844f31f6d3fabfe0b04e69852ec0c70e (plain)
1
2
3
4
5
6
// 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* %0, i32 4)
OpenPOWER on IntegriCloud