bolt/deps/llvm-18.1.8/llvm/test/MC/AVR/reloc-directive-err.s
2025-02-14 19:21:04 +01:00

10 lines
402 B
ArmAsm

# RUN: llvm-mc -triple=avr %s 2>&1 | FileCheck --check-prefix=PRINT %s
# RUN: not llvm-mc -filetype=obj -triple=avr %s -o /dev/null 2>&1 | FileCheck %s
# PRINT: .reloc 0, R_INVALID, 0
# CHECK: {{.*}}.s:[[#@LINE+1]]:11: error: unknown relocation name
.reloc 0, R_INVALID, 0
# PRINT: .reloc 0, BFD_RELOC_64, 0
# CHECK: {{.*}}.s:[[#@LINE+1]]:11: error: unknown relocation name
.reloc 0, BFD_RELOC_64, 0