xref: /llvm-project/clang/test/CodeGenCXX/cxx1z-noexcept-function-type.cpp (revision 391fb8662a75b7cc45cad8926888ff6c5685b4ab)
1 // RUN: %clang_cc1 -fexceptions -fcxx-exceptions -std=c++1z -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s
2 
3 // CHECK-LABEL: define {{.*}} @_Z11builtin_newm(
4 // CHECK: call {{.*}} @_Znwm(
builtin_new(unsigned long n)5 void *builtin_new(unsigned long n) { return __builtin_operator_new(n); }
6 
7 // CHECK-LABEL: define {{.*}} @_Z14builtin_deletePv(
8 // CHECK: call {{.*}} @_ZdlPv(
builtin_delete(void * p)9 void builtin_delete(void *p) { return __builtin_operator_delete(p); }
10