8e12397d70
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
7 lines
193 B
ArmAsm
7 lines
193 B
ArmAsm
# 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
|