1 // RUN: %clang_cc1 -no-opaque-pointers %s -triple spir -emit-llvm -O0 -o - | FileCheck %s
3 typedef __SIZE_TYPE__ size_t;
7 void* operator new(size_t);
8 void operator delete(void *ptr);
11 void test_new_delete(A **a) {
12 // CHECK: %{{.*}} = call spir_func noundef i8 addrspace(4)* @_ZNU3AS41AnwEj(i32 {{.*}})
14 // CHECK: call spir_func void @_ZNU3AS41AdlEPU3AS4v(i8 addrspace(4)* {{.*}})