blob: 2d881c3ecd71ec907936f48813ede6033337f957 [file] [log] [blame]
Reid Spencere3ff5ad2007-01-26 08:25:06 +00001; RUN: llvm-as 2>&1 < %s >/dev/null | grep "Expected type 'i32' for element #0"
Chris Lattner9fa01f22003-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 Spencere3ff5ad2007-01-26 08:25:06 +00004constant { i32 } { float 1.0 }