aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/MC/Mips/reloc-directive-bad.s
blob: f09a73b962b01fa5681c2f05662558836f271922 (plain)
1
2
3
4
5
6
7
# RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding \
# RUN:     -target-abi=o32 2>&1 | FileCheck %s
	.text
foo:
	.reloc ., R_MIPS_32, .text+.text  # CHECK: :[[@LINE]]:23: error: expression must be relocatable
	.reloc ., 0, R_MIPS_32, .text     # CHECK: :[[@LINE]]:12: error: expected relocation name
	nop