llvm-project/llvm/test/MC/RISCV/pseudo-jump-invalid.s

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
310 B
ArmAsm
Raw Normal View History

# 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