summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/reloc-directive-bad.s
blob: 41f21ed36de71a0e2912360b7db0c9b810474c15 (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 0, R_MIPS_32, .text+.text # CHECK: :[[@LINE]]:23: error: expression must be relocatable
	nop
OpenPOWER on IntegriCloud