blob: ed77da7cb830a7bbfe6cfb61a4539636775d0c40 [file] [log] [blame]
Reid Spencer73e70822006-12-29 20:01:32 +00001; RUN: llvm-upgrade < %s > %t1.ll
2; RUN: bugpoint %t1.ll -bugpoint-crashcalls
Chris Lattner484147d2003-06-24 23:40:27 +00003
4; Test to make sure that arguments are removed from the function if they are unnecessary.
5
6declare int %test2()
7int %test(int %A, int %B, float %C) {
8 call int %test2()
9 ret int %0
10}