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