Testcase for PR2894.
authorDuncan Sands <baldrick@free.fr>
Wed, 15 Oct 2008 22:34:34 +0000 (22:34 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 15 Oct 2008 22:34:34 +0000 (22:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57604 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/2008-10-15-MissingSpace.ll [new file with mode: 0644]

diff --git a/test/Other/2008-10-15-MissingSpace.ll b/test/Other/2008-10-15-MissingSpace.ll
new file mode 100644 (file)
index 0000000..a61fa61
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llvm-dis | not grep {void@}
+; PR2894
+declare void @g()
+define void @f() {
+  invoke void @g() to label %c unwind label %c
+  c: ret void
+}