New testcase
authorChris Lattner <sabre@nondot.org>
Wed, 21 May 2003 15:57:25 +0000 (15:57 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 May 2003 15:57:25 +0000 (15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6253 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2003-05-21-EmptyStructTest.ll [new file with mode: 0644]
test/Assembler/2003-05-21-MalformedStructCrash.llx [new file with mode: 0644]

diff --git a/test/Assembler/2003-05-21-EmptyStructTest.ll b/test/Assembler/2003-05-21-EmptyStructTest.ll
new file mode 100644 (file)
index 0000000..1fdfb03
--- /dev/null
@@ -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 (file)
index 0000000..ba2f661
--- /dev/null
@@ -0,0 +1,3 @@
+; Found by inspection of the code
+
+global {} { int 7, float 1.0, int 7, int 8 }