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

9 lines
334 B
ArmAsm

# RUN: not llvm-mc -triple mips-unknown-linux %s -show-encoding \
# RUN: -target-abi=o32 -filetype=obj 2>&1 | FileCheck %s
.text
nop
.reloc foo, R_MIPS_32, .text # CHECK: :[[@LINE]]:2: error: unresolved relocation offset
nop
nop
.reloc bar, R_MIPS_32, .text # CHECK: :[[@LINE]]:2: error: unresolved relocation offset
nop