xref: /aosp_15_r20/external/llvm/test/MC/Mips/reloc-directive-negative.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \
2*9880d681SAndroid Build Coastguard Worker# RUN:     2>&1 | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker	.text
4*9880d681SAndroid Build Coastguard Workerfoo:
5*9880d681SAndroid Build Coastguard Worker	.reloc -1, R_MIPS_32, .text # CHECK: :[[@LINE]]:9: error: expression is negative
6*9880d681SAndroid Build Coastguard Worker	nop
7