Home | History | Annotate | Download | only in Assembler
      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