[llvm-commits] CVS: llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat May 31 16:05:01 PDT 2003
Changes in directory llvm/test/Regression/Transforms/FunctionResolve:
2003-05-31-InternalDecl.ll added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll
diff -c /dev/null llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll:1.1
*** /dev/null Sat May 31 16:04:49 2003
--- llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll Sat May 31 16:04:39 2003
***************
*** 0 ****
--- 1,15 ----
+ ; RUN: if as < %s | opt -funcresolve | dis | grep declare
+ ; RUN: then exit 1
+ ; RUN: else exit 0
+ ; RUN: fi
+
+ declare void %test(...)
+
+ int %callee() {
+ call void(...)* %test(int 5)
+ ret int 2
+ }
+
+ internal void %test(int) {
+ ret void
+ }
More information about the llvm-commits
mailing list