blob: 45e43b8a39639acac469466978dc6374a4068f77 [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!
Rafael Espindola11ab0c32016-05-10 18:22:45 +00005@0 = constant { i32 } { float 1.0 }