[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / RISCV / lla-invalid.s
blob6449f9571e29748d4a8f097d0d62c78dfbea44a3
1 # RUN: not llvm-mc -triple=riscv32 < %s 2>&1 | FileCheck %s
2 # RUN: not llvm-mc -triple=riscv64 < %s 2>&1 | FileCheck %s
4 # Non bare symbols must be rejected
5 lla a2, %lo(a_symbol) # CHECK: :[[@LINE]]:9: error: operand must be a bare symbol name
6 lla a2, %hi(a_symbol) # CHECK: :[[@LINE]]:9: error: operand must be a bare symbol name
7 lla a2, foo@plt # CHECK: :[[@LINE]]:17: error: '@plt' operand not valid for instruction