blob: fa6b807709e12142bb7a942bf4c697f04ac7f212 [file] [log] [blame]
Chris Lattner1afcace2011-07-09 17:41:24 +00001; RUN: not llvm-as < %s >/dev/null |& grep {struct initializer doesn't match struct element type}
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 }