X86: produce more friendly errors during MachO relocation handling
[oota-llvm.git] / test / MC / Mips / reloc-directive-bad.s
1 # RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \
2 # RUN:     2>&1 | FileCheck %s
3         .text
4 foo:
5         .reloc 0, R_MIPS_32, .text+.text # CHECK: :[[@LINE]]:23: error: expression must be relocatable
6         nop