New testcase that triggered assertion failure.
authorChris Lattner <sabre@nondot.org>
Tue, 15 Apr 2003 16:07:05 +0000 (16:07 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Apr 2003 16:07:05 +0000 (16:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5776 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2003-04-15-ConstantInitAssertion.llx [new file with mode: 0644]

diff --git a/test/Assembler/2003-04-15-ConstantInitAssertion.llx b/test/Assembler/2003-04-15-ConstantInitAssertion.llx
new file mode 100644 (file)
index 0000000..4048f2b
--- /dev/null
@@ -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 }