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

5 lines
195 B
Plaintext

; RUN: (llvm-as < %s 2>&1) | 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 }