1# RUN: llvm-mc -triple=mips64-unknown-freebsd %s -filetype=obj -o %t.o 2# RUN: not ld.lld %t.o %S/Inputs/corrupt-version-reference.so -o %t.exe 2>&1 | FileCheck %s 3# REQUIRES: mips 4 5# CHECK: error: corrupt input file: version definition index 9 for symbol __cxa_finalize is out of bounds 6# CHECK: >>> defined in {{.+}}/corrupt-version-reference.so 7 8.globl __start 9__start: 10 dla $a0, __cxa_finalize 11 nop 12