summaryrefslogtreecommitdiff
path: root/test/Assembler/2003-04-15-ConstantInitAssertion.ll
blob: e0121688dc3f4bc105cd6a2aa22617ddea50876c (plain)
1
2
3
4
; 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 }