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

5 lines
225 B
Plaintext

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