8625704ad8
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
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
|