Clang Project

clang_source_code/test/CodeGenCXX/cxx1z-noexcept-function-type.cpp
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(
5void *builtin_new(unsigned long n) { return __builtin_operator_new(n); }
6
7// CHECK-LABEL: define {{.*}} @_Z14builtin_deletePv(
8// CHECK: call {{.*}} @_ZdlPv(
9void builtin_delete(void *p) { return __builtin_operator_delete(p); }
10