projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New testcase
[oota-llvm.git]
/
test
/
BugPoint
/
remove_arguments_test.ll
diff --git a/test/BugPoint/remove_arguments_test.ll
b/test/BugPoint/remove_arguments_test.ll
new file mode 100644
(file)
index 0000000..
5a0bd6f
--- /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
+}