xref: /llvm-project/llvm/test/Assembler/insertvalue-invalid-type.ll (revision 75a479221b72c8b4827470485949cebf67d1c967)
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3; CHECK: insertvalue operand and field disagree in type: 'ptr' instead of 'i32'
4
5define void @test() {
6entry:
7  insertvalue { i32, i32 } undef, ptr null, 0
8  ret void
9}
10