For PR1319:
[oota-llvm.git] / test / BugPoint / remove_arguments_test.ll
1 ; RUN: bugpoint %s  -bugpoint-crashcalls
2
3 ; Test to make sure that arguments are removed from the function if they are 
4 ; unnecessary.
5
6 declare i32 @test2()
7
8 define i32 @test(i32 %A, i32 %B, float %C) {
9         call i32 @test2()
10         ret i32 %1
11 }