From a35d594cf00c15d94ae3bdc8c43ba5e367fca71c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 21 May 2003 15:57:25 +0000 Subject: [PATCH] New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6253 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/2003-05-21-EmptyStructTest.ll | 4 ++++ test/Assembler/2003-05-21-MalformedStructCrash.llx | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 test/Assembler/2003-05-21-EmptyStructTest.ll create mode 100644 test/Assembler/2003-05-21-MalformedStructCrash.llx diff --git a/test/Assembler/2003-05-21-EmptyStructTest.ll b/test/Assembler/2003-05-21-EmptyStructTest.ll new file mode 100644 index 00000000000..1fdfb03cfde --- /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 00000000000..ba2f66149bd --- /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 }