llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s
raw| 1 | # RUN: llvm-mc --triple=loongarch64 %s | FileCheck --check-prefix=PRINT %s |
| 2 | # RUN: not llvm-mc --filetype=obj --triple=loongarch64 %s -o /dev/null 2>&1 \ |
| 3 | # RUN: | FileCheck %s |
| 4 | |
| 5 | # PRINT: .reloc 0, R_INVALID, 0 |
| 6 | # CHECK: {{.*}}.s:[[# @LINE+1]]:11: error: unknown relocation name |
| 7 | .reloc 0, R_INVALID, 0 |