xref: /llvm-project/clang/test/CodeGen/merge-attrs.c (revision 1c2558021c155878c305701e11e3714cb521f599)
1 // RUN: %clang_cc1 %s -emit-llvm -o %t
2 
3 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
4 
__zend_malloc(int)5 inline static void __zend_malloc(int) {
6     malloc(1);
7 }
8 
9 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
10 
fontFetch(void)11 void fontFetch(void) {
12     __zend_malloc(1);
13 }
14