2008-11-05 01:40:30 +00:00
|
|
|
; RUN: llvm-as < %s | opt -always-inline | llvm-dis | grep {@foo}
|
|
|
|
; 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
|
|
|
|
}
|