2007-04-16 23:31:49 +08:00
|
|
|
; RUN: llvm-as < %s >/dev/null |& grep {Expected type 'i32' for element #0}
|
2003-04-16 00:07:05 +08:00
|
|
|
; Test the case of a misformed constant initializer
|
|
|
|
; This should cause an assembler error, not an assertion failure!
|
2007-01-26 16:25:06 +08:00
|
|
|
constant { i32 } { float 1.0 }
|