64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
6 lines
265 B
LLVM
6 lines
265 B
LLVM
; 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 }
|