aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/Inline/2008-11-04-AlwaysInline.ll
blob: 71087c59d5467be0f7b03d691375eedc31b58331 (plain)
1
2
3
4
5
6
; 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
}