Chris Lattner | df98617 | 2009-01-02 07:01:27 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-as < %s >/dev/null |& grep {constant expression type mismatch} |
Chris Lattner | 9fa01f2 | 2003-04-15 16:07:05 +0000 | [diff] [blame] | 2 | ; Test the case of a misformed constant initializer |
3 | ; This should cause an assembler error, not an assertion failure! | ||||
Reid Spencer | e3ff5ad | 2007-01-26 08:25:06 +0000 | [diff] [blame] | 4 | constant { i32 } { float 1.0 } |