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