aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-02 19:12:21 +0000
committerChris Lattner <sabre@nondot.org>2002-05-02 19:12:21 +0000
commit7dd79b6a62d762d8872252577e223b2a41bdef7b (patch)
tree4fcf51c71fcc1bd8948c9646de01be58ed9b88e9 /test/Assembler
parentb05ca44eb9489d65fde77e93968e04acc8c700ea (diff)
downloadexternal_llvm-7dd79b6a62d762d8872252577e223b2a41bdef7b.zip
external_llvm-7dd79b6a62d762d8872252577e223b2a41bdef7b.tar.gz
external_llvm-7dd79b6a62d762d8872252577e223b2a41bdef7b.tar.bz2
New testcase for assembler failure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/2002-05-02-InvalidForwardRef.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Assembler/2002-05-02-InvalidForwardRef.ll b/test/Assembler/2002-05-02-InvalidForwardRef.ll
new file mode 100644
index 0000000..961ae84
--- /dev/null
+++ b/test/Assembler/2002-05-02-InvalidForwardRef.ll
@@ -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"()
+