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

5 lines
219 B
Plaintext

; RUN: llvm-upgrade < %s | llvm-as 2>&1 >/dev/null | grep Expected
; Test the case of a misformed constant initializer
; This should cause an assembler error, not an assertion failure!
%X = constant {int} { float 1.0 }