aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/merge-attrs.c
blob: 0758174d64f8f38ca4e81d1534748d34ce777cd2 (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(int) {
    malloc(1);
}

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

void fontFetch(void) {
    __zend_malloc(1);
}