# RUN: llvm-mc -triple=mips64-unknown-freebsd %s -filetype=obj -o %t.o
# RUN: not ld.lld %t.o %S/Inputs/corrupt-version-reference.so -o %t.exe 2>&1 | FileCheck %s

# CHECK: error: corrupt input file: version definition index 9 for symbol __cxa_finalize is out of bounds
# CHECK: >>> defined in {{.+}}/corrupt-version-reference.so

.globl __start
__start:
    dla $a0, __cxa_finalize
    nop

# RUN: llvm-mc -triple=mips64-unknown-freebsd %s -filetype=obj -o %t.o
# RUN: not ld.lld %t.o %S/Inputs/corrupt-version-reference.so -o %t.exe 2>&1 | FileCheck %s
# REQUIRES: mips

# CHECK: error: corrupt input file: version definition index 9 for symbol __cxa_finalize is out of bounds
# CHECK: >>> defined in {{.+}}/corrupt-version-reference.so

.globl __start
__start:
    dla $a0, __cxa_finalize
    nop

Add missing REQUIRES: mips to the test added in r315035
[ELF] Add missing REQUIRES: mips to the test added in r315035

git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@315038 91177308-0d34-0410-b5e6-96231b3b80d8
