llvm-6502/test/Assembler/2003-04-15-ConstantInitAssertion.llx
2007-11-28 04:57:00 +00:00

5 lines
229 B
Plaintext

; 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 }