aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-21 15:57:25 +0000
committerChris Lattner <sabre@nondot.org>2003-05-21 15:57:25 +0000
commita35d594cf00c15d94ae3bdc8c43ba5e367fca71c (patch)
tree1df633bee4b6889b923f3e7d4b3a4a2e4682c0a0
parente3d333edd1a0fa8784548da4ba8e3adcd49f3e29 (diff)
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6253 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Assembler/2003-05-21-EmptyStructTest.ll4
-rw-r--r--test/Assembler/2003-05-21-MalformedStructCrash.llx3
2 files changed, 7 insertions, 0 deletions
diff --git a/test/Assembler/2003-05-21-EmptyStructTest.ll b/test/Assembler/2003-05-21-EmptyStructTest.ll
new file mode 100644
index 0000000000..1fdfb03cfd
--- /dev/null
+++ b/test/Assembler/2003-05-21-EmptyStructTest.ll
@@ -0,0 +1,4 @@
+; The old C front-end never generated empty structures, now the new one
+; can. For some reason we never handled them in the parser. Wierd.
+
+%X = global {} {}
diff --git a/test/Assembler/2003-05-21-MalformedStructCrash.llx b/test/Assembler/2003-05-21-MalformedStructCrash.llx
new file mode 100644
index 0000000000..ba2f66149b
--- /dev/null
+++ b/test/Assembler/2003-05-21-MalformedStructCrash.llx
@@ -0,0 +1,3 @@
+; Found by inspection of the code
+
+global {} { int 7, float 1.0, int 7, int 8 }