llvm-6502/test/Transforms/Inline/2008-11-04-AlwaysInline.ll
2009-09-08 22:34:10 +00:00

8 lines
160 B
LLVM

; RUN: opt %s -always-inline -S | grep {@foo}
; Ensure that foo is not removed by always inliner
; PR 2945
define internal i32 @foo() nounwind {
ret i32 0
}