llvm-for-llvmta/test/MC/Mips/reloc-directive-bad-obj.s

10 lines
334 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# 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