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