1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o %t
2*f4a2713aSLionel Sambuc 
3*f4a2713aSLionel Sambuc void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
4*f4a2713aSLionel Sambuc 
__zend_malloc()5*f4a2713aSLionel Sambuc inline static void __zend_malloc() {
6*f4a2713aSLionel Sambuc     malloc(1);
7*f4a2713aSLionel Sambuc }
8*f4a2713aSLionel Sambuc 
9*f4a2713aSLionel Sambuc void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
10*f4a2713aSLionel Sambuc 
fontFetch()11*f4a2713aSLionel Sambuc void fontFetch() {
12*f4a2713aSLionel Sambuc     __zend_malloc(1);
13*f4a2713aSLionel Sambuc }
14