New testcase for assembler failure
authorChris Lattner <sabre@nondot.org>
Thu, 2 May 2002 19:12:21 +0000 (19:12 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 2 May 2002 19:12:21 +0000 (19:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2435 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2002-05-02-InvalidForwardRef.ll [new file with mode: 0644]

diff --git a/test/Assembler/2002-05-02-InvalidForwardRef.ll b/test/Assembler/2002-05-02-InvalidForwardRef.ll
new file mode 100644 (file)
index 0000000..961ae84
--- /dev/null
@@ -0,0 +1,11 @@
+; It looks like the assembler is not forward resolving the function declaraion
+; correctly.
+
+void "test"()
+begin
+       call void %foo()
+       ret void
+end
+
+declare void "foo"()
+