insertvalue-invalid-type.ll 214 B

123456789
  1. ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
  2. ; CHECK: insertvalue operand and field disagree in type: 'i8*' instead of 'i32'
  3. define void @test() {
  4. entry:
  5. insertvalue { i32, i32 } undef, i8* null, 0
  6. ret void
  7. }