llvm/test/MC/LoongArch/Macros/aliases-la-bad.s
raw| 1 | # RUN: not llvm-mc --triple=loongarch64 %s 2>&1 | FileCheck %s |
| 2 | |
| 3 | la $a0, $a1, sym |
| 4 | # CHECK: :[[#@LINE-1]]:10: error: operand must be a bare symbol name |
| 5 | |
| 6 | la $a0, 1 |
| 7 | # CHECK: :[[#@LINE-1]]:9: error: operand must be a bare symbol name |
| 8 | |
| 9 | la.global $a0, $a1, 1 |
| 10 | # CHECK: :[[#@LINE-1]]:21: error: operand must be a bare symbol name |