new testcase for PR463
authorChris Lattner <sabre@nondot.org>
Sun, 28 Nov 2004 16:47:46 +0000 (16:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 28 Nov 2004 16:47:46 +0000 (16:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18304 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2004-11-28-InvalidTypeCrash.ll [new file with mode: 0644]

diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll
new file mode 100644 (file)
index 0000000..9174264
--- /dev/null
@@ -0,0 +1,3 @@
+; RUN: (llvm-as < %s) 2>&1 | grep 'Cannot create a'
+; Test for PR463.  This program is erroneous, but should not crash llvm-as.
+%.FOO  = internal global %struct.none zeroinitializer