llvm-for-llvmta/test/MC/RISCV/fixups-invalid.s

8 lines
355 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc -filetype=obj %s -triple=riscv32 -o /dev/null 2>&1 \
# RUN: | FileCheck %s
# RUN: not llvm-mc -filetype=obj %s -triple=riscv64 -o /dev/null 2>&1 \
# RUN: | FileCheck %s
.byte foo # CHECK: [[@LINE]]:7: error: 1-byte data relocations not supported
.2byte foo # CHECK: [[@LINE]]:8: error: 2-byte data relocations not supported