blob: 3c1d62aeca3c36a56fc476f197a45325e82a884d [file] [log] [blame]
Daniel Dunbar2d6ca8d2008-08-21 02:51:29 +00001// RUN: clang %s -emit-llvm -o %t
Nuno Lopes9141bee2008-06-01 22:53:53 +00002
Douglas Gregor3e41d602009-02-13 23:20:09 +00003void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
Nuno Lopes9141bee2008-06-01 22:53:53 +00004
5inline static void __zend_malloc() {
6 malloc(1);
7}
8
Douglas Gregor3e41d602009-02-13 23:20:09 +00009void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
Nuno Lopes9141bee2008-06-01 22:53:53 +000010
11void fontFetch() {
12 __zend_malloc(1);
13}