Update tests that need to be run through llvm-upgrade. This is necessary
[oota-llvm.git] / test / BugPoint / remove_arguments_test.ll
1 ; RUN: llvm-upgrade < %s > %t1.ll
2 ; RUN: bugpoint %t1.ll  -bugpoint-crashcalls
3
4 ; Test to make sure that arguments are removed from the function if they are unnecessary.
5
6 declare int %test2()
7 int %test(int %A, int %B, float %C) {
8         call int %test2()
9         ret int %0
10 }