hanchenye-llvm-project/clang/test/CodeGenCXX/delete-two-arg.cpp

7 lines
241 B
C++
Raw Normal View History

// 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)