summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/merge-attrs.c
blob: 474b17225ab3cafa8d3941d0a7c00e84d8432496 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 %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);
}