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 -1, R_MIPS_32, .text # CHECK: :[[@LINE]]:9: error: expression is negative
6	nop
7