blob: 8494a66c6b727f2c36b030a57490bd870d570082 [file] [log] [blame]
# 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 {{.*}}, R_INVALID, 0
# CHECK: {{.*}}.s:[[#@LINE+1]]:11: error: unknown relocation name
.reloc ., R_INVALID, 0
# PRINT: .reloc {{.*}}, BFD_RELOC_64, 0
# CHECK: {{.*}}.s:[[#@LINE+1]]:11: error: unknown relocation name
.reloc ., BFD_RELOC_64, 0