1# RUN: not llvm-mc -arch=hexagon -filetype=obj %s 2>%t; FileCheck %s <%t
2
3# Don't allow a symbolic operand for an insn that cannot take a
4# relocation.
5
6r7:6 = rol(r5:4,#r2)
7
8# This should produce an error
9#CHECK: error:
10
11