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 \
5 # PRINT: .reloc 0, R_INVALID, 0
6 # CHECK: {{.*}}.s:[[# @LINE+1]]:11: error: unknown relocation name