blob: 79c0302e3291662577878cb3c9f07d0e78ffdc3a [file] [log] [blame]
Dan Gohman5bb7c7c2009-09-08 22:34:10 +00001; RUN: opt %s -always-inline -S | grep {@foo}
Devang Patel07b5a882008-11-05 01:40:30 +00002; Ensure that foo is not removed by always inliner
Devang Patel5a586da2008-11-05 18:41:15 +00003; PR 2945
Devang Patel07b5a882008-11-05 01:40:30 +00004
5define internal i32 @foo() nounwind {
6 ret i32 0
7}