blob: fb17c78a140bca215ceba72ab4b64f640e991d72 [file] [log] [blame]
Daniel Dunbar7201b612009-09-07 19:26:18 +00001; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
3; Test to make sure that arguments are removed from the function if they are
4; unnecessary.
5
6declare i32 @test2()
7
8define i32 @test(i32 %A, i32 %B, float %C) {
9 call i32 @test2()
10 ret i32 %1
11}