blob: e5655974f7e5c312595a1e3d27139240749fb1e7 [file] [log] [blame]
Evan Cheng7abfa502009-03-21 18:12:24 +00001; RUN: bugpoint %s -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}