aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-15 16:07:05 +0000
committerChris Lattner <sabre@nondot.org>2003-04-15 16:07:05 +0000
commit9fa01f2fa5a7c7dea56b7e25577dd9ac90401a7a (patch)
tree7897d0eb1804503e00b24055a1e2c217b151f368 /test/Assembler
parentaf7ccd9bba91deb87dd7c6bcb4c86f9492002d30 (diff)
downloadexternal_llvm-9fa01f2fa5a7c7dea56b7e25577dd9ac90401a7a.zip
external_llvm-9fa01f2fa5a7c7dea56b7e25577dd9ac90401a7a.tar.gz
external_llvm-9fa01f2fa5a7c7dea56b7e25577dd9ac90401a7a.tar.bz2
New testcase that triggered assertion failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5776 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/2003-04-15-ConstantInitAssertion.llx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/2003-04-15-ConstantInitAssertion.llx b/test/Assembler/2003-04-15-ConstantInitAssertion.llx
new file mode 100644
index 0000000..4048f2b
--- /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 }