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

7 lines
236 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* %0, i32 4)