aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/insertvalue-invalid-type-1.ll
blob: de9b782874beb9561ebbbe5a1ab5844c08071f43 (plain)
1
2
3
4
5
6
7
; 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)
}