aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/insertvalue-invalid-type.ll
blob: 6be20e56a4f282e53aa2b71331ba47befdd8cd2a (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llvm-as < %s 2>&1 | FileCheck %s

; CHECK: insertvalue operand and field disagree in type: 'i8*' instead of 'i32'

define void @test() {
entry:
  insertvalue { i32, i32 } undef, i8* null, 0
  ret void
}