summaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/2008-11-04-AlwaysInline.ll
blob: bc9787b823453c1f3625a5275be066eec0830c67 (plain)
1
2
3
4
5
6
7
; RUN: opt < %s -always-inline -S | grep {@foo}
; Ensure that foo is not removed by always inliner
; PR 2945

define internal i32 @foo() nounwind {
  ret i32 0
}
OpenPOWER on IntegriCloud