1 // RUN: %clang_cc1 -emit-llvm -o - -O0 -triple x86_64-apple-darwin10 %s | FileCheck %s
3 // Ensure that we don't emit available_externally functions at -O0.
6 inline void f0(int y
) { x
= y
; }
8 // CHECK: define void @test()
9 // CHECK: declare void @f0(i32)
14 inline int __attribute__((always_inline
)) f1(int x
) {
16 for (int i
= 0; i
< x
; ++i
)
17 blarg
= blarg
+ x
* i
;