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