1# RUN: not llvm-mc -triple riscv32 < %s 2>&1 | FileCheck %s 2# RUN: not llvm-mc -triple riscv64 < %s 2>&1 | FileCheck %s 3 4tail 1234 # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name 5tail %pcrel_hi(1234) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name 6tail %pcrel_lo(1234) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name 7tail %pcrel_hi(foo) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name 8tail %pcrel_lo(foo) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name 9tail %hi(1234) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name 10tail %lo(1234) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name 11tail %hi(foo) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name 12tail %lo(foo) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name 13