android_mt6572_jiabo/external/llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll
2025-09-05 16:56:03 +08:00

5 lines
260 B
LLVM

; RUN: not llvm-as < %s >/dev/null 2> %t
; RUN: grep "struct initializer doesn't match struct element type" %t
; Test the case of a misformed constant initializer
; This should cause an assembler error, not an assertion failure!
constant { i32 } { float 1.0 }