2009-09-09 00:50:01 +08:00
|
|
|
; RUN: opt %s -always-inline | llvm-dis | 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
|
|
|
|
}
|