blob: 58b8bcaca146e63f2415cbaec652cb502516186e [file] [log] [blame]
; RUN: 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 }