summaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/reloc-directive-negative.s
blob: 41dd39a17f62d124ecb6d9765873fcfbb93b048b (plain)
1
2
3
4
5
6
# RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \
# RUN:     2>&1 | FileCheck %s
	.text
foo:
	.reloc -1, R_MIPS_32, .text # CHECK: :[[@LINE]]:9: error: expression is negative
	nop