New testcase that the assembler incorrectly accepts.
authorChris Lattner <sabre@nondot.org>
Mon, 21 Mar 2005 06:24:53 +0000 (06:24 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Mar 2005 06:24:53 +0000 (06:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20725 91177308-0d34-0410-b5e6-96231b3b80d8

test/Verifier/2005-03-21-UndefinedTypeReference.ll [new file with mode: 0644]

diff --git a/test/Verifier/2005-03-21-UndefinedTypeReference.ll b/test/Verifier/2005-03-21-UndefinedTypeReference.ll
new file mode 100644 (file)
index 0000000..77fb765
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: not llvm-as -f %s -o /dev/null
+
+void %test() {
+        malloc %InvalidType
+        ret void
+}
+