xref: /aosp_15_r20/external/llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: not llvm-as < %s >/dev/null 2> %t
2; RUN: grep "struct initializer doesn't match struct element type" %t
3; Test the case of a misformed constant initializer
4; This should cause an assembler error, not an assertion failure!
5@0 = constant { i32 } { float 1.0 }
6