blob: 1aab47a3a30cd8a73cc012748a38e39e3a66cf38 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc %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}