llvm-6502/test/Assembler/2003-04-15-ConstantInitAssertion.ll

5 lines
228 B
LLVM
Raw Normal View History

2009-01-02 07:01:27 +00:00
; 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 }