aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/non-relocatable.s
blob: 72a17901c62267757f0e2b6795b5f2ad4a86bee0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# RUN: not llvm-mc -arch=hexagon -filetype=obj %s 2>%t; FileCheck %s <%t

# Don't allow a symbolic operand for an insn that cannot take a
# relocation.

r7:6 = rol(r5:4,#r2)

# This should produce an error
#CHECK: error: