blob: dddbdb1c4709d4182f022a049c4c4ce0a3422e1c [file] [log] [blame]
Chandler Carruth563add92012-07-02 12:23:19 +00001; RUN: not llvm-as < %s >/dev/null 2> %t
2; RUN: grep "struct initializer doesn't match struct element type" %t
Chris Lattner9fa01f22003-04-15 16:07:05 +00003; Test the case of a misformed constant initializer
4; This should cause an assembler error, not an assertion failure!
Reid Spencere3ff5ad2007-01-26 08:25:06 +00005constant { i32 } { float 1.0 }