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