xref: /llvm-project/llvm/test/MC/AVR/reloc-directive-err.s (revision 8f7e674771081b0d9d1099aff016536140b2e79b)
1# RUN: llvm-mc -triple=avr %s 2>&1 | FileCheck --check-prefix=PRINT %s
2# RUN: not llvm-mc -filetype=obj -triple=avr %s -o /dev/null 2>&1 | FileCheck %s
3
4# PRINT: .reloc 0, R_INVALID, 0
5# CHECK: {{.*}}.s:[[#@LINE+1]]:11: error: unknown relocation name
6.reloc 0, R_INVALID, 0
7
8# PRINT: .reloc 0, BFD_RELOC_64, 0
9# CHECK: {{.*}}.s:[[#@LINE+1]]:11: error: unknown relocation name
10.reloc 0, BFD_RELOC_64, 0
11