aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-28 16:47:46 +0000
committerChris Lattner <sabre@nondot.org>2004-11-28 16:47:46 +0000
commit96d7dac55ff322e4ec8aaa1b35d77179f8800753 (patch)
treebefb6f9ea5b2e5754af215758e5a11b8da9c0300 /test
parent7891593359420f69422840584b05f0b0c3b7da52 (diff)
downloadexternal_llvm-96d7dac55ff322e4ec8aaa1b35d77179f8800753.zip
external_llvm-96d7dac55ff322e4ec8aaa1b35d77179f8800753.tar.gz
external_llvm-96d7dac55ff322e4ec8aaa1b35d77179f8800753.tar.bz2
new testcase for PR463
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Assembler/2004-11-28-InvalidTypeCrash.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll
new file mode 100644
index 0000000..9174264
--- /dev/null
+++ b/test/Assembler/2004-11-28-InvalidTypeCrash.ll
@@ -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