llvm-6502/test/Transforms/Inline/2008-11-04-AlwaysInline.ll

7 lines
170 B
LLVM
Raw Normal View History

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