llvm-project/llvm/test/Assembler/2003-04-15-ConstantInitAsse...

5 lines
228 B
LLVM
Raw Normal View History

; RUN: not llvm-as < %s >/dev/null |& grep {constant expression type mismatch}
; Test the case of a misformed constant initializer
; This should cause an assembler error, not an assertion failure!
constant { i32 } { float 1.0 }