view test/MC/Hexagon/ro-c9.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: llvm-mc -arch=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t

# Check that changes to a read-only register is caught.

	{ pc = r0 }
# CHECK: error: Cannot write to read-only register