From 484147db9c8386e8e6840475b7911d7dbf8bd109 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 24 Jun 2003 23:40:27 +0000 Subject: New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6893 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/BugPoint/remove_arguments_test.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/BugPoint/remove_arguments_test.ll (limited to 'test/BugPoint') diff --git a/test/BugPoint/remove_arguments_test.ll b/test/BugPoint/remove_arguments_test.ll new file mode 100644 index 00000000000..5a0bd6f0093 --- /dev/null +++ b/test/BugPoint/remove_arguments_test.ll @@ -0,0 +1,9 @@ +; 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 +} -- cgit v1.2.3