xref: /aosp_15_r20/external/llvm/test/MC/Mips/reloc-directive-bad.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1# RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \
2# RUN:     2>&1 | FileCheck %s
3	.text
4foo:
5	.reloc 0, R_MIPS_32, .text+.text # CHECK: :[[@LINE]]:23: error: expression must be relocatable
6	nop
7