2009-09-08 22:34:10 +00:00
|
|
|
; RUN: opt %s -always-inline -S | grep {@foo}
|
2008-11-05 01:40:30 +00:00
|
|
|
; Ensure that foo is not removed by always inliner
|
2008-11-05 18:41:15 +00:00
|
|
|
; PR 2945
|
2008-11-05 01:40:30 +00:00
|
|
|
|
|
|
|
define internal i32 @foo() nounwind {
|
|
|
|
ret i32 0
|
|
|
|
}
|