YouCompleteMe/cpp/llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll
2012-07-05 17:51:06 -07:00

5 lines
247 B
LLVM

; 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 }