blob: 66b80de348b1c6a0c7e27a7afd6dd31b8e165f42 [file] [log] [blame]
Tanya Lattner8f342f82007-11-28 04:57:00 +00001; RUN: not llvm-as < %s >/dev/null |& grep {Expected type 'i32' for element #0}
Chris Lattnerf7cc6ae2003-04-15 16:07:05 +00002; Test the case of a misformed constant initializer
3; This should cause an assembler error, not an assertion failure!
Reid Spencerce380562007-01-26 08:25:06 +00004constant { i32 } { float 1.0 }