llvm-for-llvmta/test/MC/RISCV/pseudo-jump-invalid.s

6 lines
310 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc -triple riscv32 < %s 2>&1 | FileCheck %s
jump 1234, x31 # CHECK: :[[@LINE]]:6: error: operand must be a valid jump target
jump foo@plt, x31 # CHECK: :[[@LINE]]:6: error: operand must be a valid jump target
jump %pcrel_lo(1234), x31 # CHECK: :[[@LINE]]:6: error: unknown token in expression