llvm-6502/test/Transforms/Inline/2008-11-04-AlwaysInline.ll
Devang Patel 60886066bf Add PR number.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58765 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-05 18:41:15 +00:00

8 lines
180 B
LLVM

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