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