Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-llvm -o %t |
Nuno Lopes | 9141bee | 2008-06-01 22:53:53 +0000 | [diff] [blame] | 2 | |
Douglas Gregor | 3e41d60 | 2009-02-13 23:20:09 +0000 | [diff] [blame] | 3 | void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__)); |
Nuno Lopes | 9141bee | 2008-06-01 22:53:53 +0000 | [diff] [blame] | 4 | |
| 5 | inline static void __zend_malloc() { |
| 6 | malloc(1); |
| 7 | } |
| 8 | |
Douglas Gregor | 3e41d60 | 2009-02-13 23:20:09 +0000 | [diff] [blame] | 9 | void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__)); |
Nuno Lopes | 9141bee | 2008-06-01 22:53:53 +0000 | [diff] [blame] | 10 | |
| 11 | void fontFetch() { |
| 12 | __zend_malloc(1); |
| 13 | } |