Chandler Carruth | 563add9 | 2012-07-02 12:23:19 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-as < %s >/dev/null 2> %t |
2 | ; RUN: grep "struct initializer doesn't match struct element type" %t | ||||
Chris Lattner | 9fa01f2 | 2003-04-15 16:07:05 +0000 | [diff] [blame] | 3 | ; Test the case of a misformed constant initializer |
4 | ; This should cause an assembler error, not an assertion failure! | ||||
Reid Spencer | e3ff5ad | 2007-01-26 08:25:06 +0000 | [diff] [blame] | 5 | constant { i32 } { float 1.0 } |