[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / reloc-directive-bad.s
blobbb056b752fb9fc314250e327c9c220eae2b00a96
1 # RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding \
2 # RUN: -target-abi=o32 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 .reloc 0, 0, R_MIPS_32, .text # CHECK: :[[@LINE]]:12: error: expected relocation name
7 nop