old testcase
authorChris Lattner <sabre@nondot.org>
Wed, 8 Oct 2003 18:28:10 +0000 (18:28 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Oct 2003 18:28:10 +0000 (18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8967 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/FunctionResolve/2003-06-18-TypePromotion.ll [new file with mode: 0644]

diff --git a/test/Transforms/FunctionResolve/2003-06-18-TypePromotion.ll b/test/Transforms/FunctionResolve/2003-06-18-TypePromotion.ll
new file mode 100644 (file)
index 0000000..11e385e
--- /dev/null
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | opt -funcresolve | dis | not grep declare
+
+declare void %test(int)
+
+int %callee(int %X) {
+  call void %test(int %X)
+  ret int 2
+}
+
+internal void %test(sbyte) {
+  ret void
+}