summaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-04-15-ConstantInitAssertion.ll
blob: fa6b807709e12142bb7a942bf4c697f04ac7f212 (plain)
1
2
3
4
; RUN: not llvm-as < %s >/dev/null |& grep {struct initializer doesn't match struct element type}
; Test the case of a misformed constant initializer
; This should cause an assembler error, not an assertion failure!
constant { i32 } { float 1.0 }