8 lines · plain
1# RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding \2# RUN: -target-abi=o32 2>&1 | FileCheck %s3 .text4foo:5 .reloc ., R_MIPS_32, .text+.text # CHECK: :[[@LINE]]:23: error: expression must be relocatable6 .reloc ., 0, R_MIPS_32, .text # CHECK: :[[@LINE]]:12: error: expected relocation name7 nop8