bolt/deps/llvm-18.1.8/llvm/test/MC/Mips/reloc-directive-bad.s
2025-02-14 19:21:04 +01:00

7 lines
320 B
ArmAsm

# RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding \
# RUN: -target-abi=o32 2>&1 | FileCheck %s
.text
foo:
.reloc 0, R_MIPS_32, .text+.text # CHECK: :[[@LINE]]:23: error: expression must be relocatable
.reloc 0, 0, R_MIPS_32, .text # CHECK: :[[@LINE]]:12: error: expected relocation name
nop