blob: e0121688dc3f4bc105cd6a2aa22617ddea50876c [file] [log] [blame]
Chris Lattnerdf986172009-01-02 07:01:27 +00001; RUN: not llvm-as < %s >/dev/null |& grep {constant expression type mismatch}
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 }