llvm/test/Assembler/insertvalue-invalid-type-1.ll
2015-02-23 07:13:52 +00:00

8 lines
221 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: insertvalue operand and field disagree in type: 'i32' instead of 'i64'
define <{ i32 }> @test() {
ret <{ i32 }> insertvalue (<{ i64 }> zeroinitializer, i32 4, 0)
}