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