bolt/deps/llvm-18.1.8/llvm/test/MC/LoongArch/Macros/aliases-la-bad.s
2025-02-14 19:21:04 +01:00

10 lines
321 B
ArmAsm

# RUN: not llvm-mc --triple=loongarch64 %s 2>&1 | FileCheck %s
la $a0, $a1, sym
# CHECK: :[[#@LINE-1]]:10: error: operand must be a bare symbol name
la $a0, 1
# CHECK: :[[#@LINE-1]]:9: error: operand must be a bare symbol name
la.global $a0, $a1, 1
# CHECK: :[[#@LINE-1]]:21: error: operand must be a bare symbol name