summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-19 22:26:29 +0000
committerChris Lattner <sabre@nondot.org>2008-04-19 22:26:29 +0000
commitfe48fbc1f155888230dc40070b47302a624c9590 (patch)
treed51399c653dc8e024c94438e9e26a09c98d591fa /llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll
parent5b665498af732d691b01af59a84cdae092e093e6 (diff)
downloadbcm5719-llvm-fe48fbc1f155888230dc40070b47302a624c9590.tar.gz
bcm5719-llvm-fe48fbc1f155888230dc40070b47302a624c9590.zip
rename *.llx -> *.ll
llvm-svn: 49969
Diffstat (limited to 'llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll')
-rw-r--r--llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll b/llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll
new file mode 100644
index 00000000000..66b80de348b
--- /dev/null
+++ b/llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s >/dev/null |& grep {Expected type 'i32' for element #0}
+; Test the case of a misformed constant initializer
+; This should cause an assembler error, not an assertion failure!
+constant { i32 } { float 1.0 }
OpenPOWER on IntegriCloud