extractvalue-invalid-idx.ll 185 B

12345678910
  1. ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
  2. ; PR4170
  3. ; CHECK: invalid indices for extractvalue
  4. define void @test() {
  5. entry:
  6. extractvalue [0 x i32] undef, 0
  7. ret void
  8. }