From 9fa01f2fa5a7c7dea56b7e25577dd9ac90401a7a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 15 Apr 2003 16:07:05 +0000 Subject: [PATCH] New testcase that triggered assertion failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5776 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/2003-04-15-ConstantInitAssertion.llx | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/Assembler/2003-04-15-ConstantInitAssertion.llx diff --git a/test/Assembler/2003-04-15-ConstantInitAssertion.llx b/test/Assembler/2003-04-15-ConstantInitAssertion.llx new file mode 100644 index 00000000000..4048f2b70bf --- /dev/null +++ b/test/Assembler/2003-04-15-ConstantInitAssertion.llx @@ -0,0 +1,4 @@ +; RUN: (as < %s 2>&1) | grep Expected +; Test the case of a misformed constant initializer +; This should cause an assembler error, not an assertion failure! +%X = constant {int} { float 1.0 } -- 2.34.1