summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/merge-attrs.c
blob: 1aab47a3a30cd8a73cc012748a38e39e3a66cf38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: clang-cc %s -emit-llvm -o %t

void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));

inline static void __zend_malloc() {
    malloc(1);
}

void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));

void fontFetch() {
    __zend_malloc(1);
}
OpenPOWER on IntegriCloud