aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2004-11-28-InvalidTypeCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2004-11-28-InvalidTypeCrash.ll')
-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