[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / RISCV / reloc-directive-err.s
blob2b00019fcb8eabbd9690cdd9ebd0f8a85487ca7c
1 # RUN: llvm-mc -triple=riscv64 %s 2>&1 | FileCheck --check-prefix=PRINT %s
2 # RUN: not llvm-mc -filetype=obj -triple=riscv64 %s -o /dev/null 2>&1 | FileCheck %s
4 # PRINT: .reloc 0, R_INVALID, 0
5 # CHECK: {{.*}}.s:[[# @LINE+1]]:11: error: unknown relocation name
6 .reloc 0, R_INVALID, 0