# RUN: not llvm-mc -triple riscv32 -filetype obj %s -o /dev/null 2>&1 | FileCheck %s
.Ltmp1:
.quad tls
lui a0, %
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
lw a0, %(t0)
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
lui a0, %
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
add a0, a0, tp, %
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
addi a0, a0, %
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
auipc a0, %
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
auipc a0, %
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
auipc a0, %
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
auipc a0, %
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
addi a0, a0, %
# CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
# tail tls+32
# tail tls-tls
# _ :[[#@LINE-1]]:2: error: expected relocatable expression