llvm-6502/test/BugPoint/remove_arguments_test.ll
Chris Lattner 484147db9c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6893 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-24 23:40:27 +00:00

10 lines
225 B
LLVM

; RUN: bugpoint %s -bugpoint-crashcalls
; Test to make sure that arguments are removed from the function if they are unnecessary.
declare int %test2()
int %test(int %A, int %B, float %C) {
call int %test2()
ret int %0
}