1 # RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding \
2 # RUN: -target-abi=o32 2>&1 | FileCheck %s
5 .reloc foo+4, R_MIPS_32, .text # CHECK: :[[@LINE]]:9: error: expected non-negative number or a label
6 .reloc foo+foo, R_MIPS_32, .text # CHECK: :[[@LINE]]:9: error: expected non-negative number or a label
7 .reloc 0, R_MIPS_32, .text+.text # CHECK: :[[@LINE]]:23: error: expression must be relocatable
8 .reloc 0 R_MIPS_32, .text # CHECK: :[[@LINE]]:11: error: expected comma
9 .reloc 0, 0, R_MIPS_32, .text # CHECK: :[[@LINE]]:12: error: expected relocation name
10 .reloc -1, R_MIPS_32, .text # CHECK: :[[@LINE]]:9: error: expression is negative
11 .reloc 1b, R_MIPS_32, .text # CHECK: :[[@LINE]]:9: error: directional label undefined
12 .reloc 1f, R_MIPS_32, .text # CHECK: :[[@LINE]]:9: error: directional label undefined