aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-05-21-MalformedStructCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2003-05-21-MalformedStructCrash.ll')
-rw-r--r--test/Assembler/2003-05-21-MalformedStructCrash.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/2003-05-21-MalformedStructCrash.ll b/test/Assembler/2003-05-21-MalformedStructCrash.ll
new file mode 100644
index 0000000..bf93035
--- /dev/null
+++ b/test/Assembler/2003-05-21-MalformedStructCrash.ll
@@ -0,0 +1,4 @@
+; Found by inspection of the code
+; RUN: not llvm-as < %s > /dev/null |& grep {Illegal number of init}
+
+global {} { i32 7, float 1.0, i32 7, i32 8 }