view test/MC/Hexagon/non-relocatable.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents
children
line wrap: on
line source

# 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: