blob: 5dd3f8320c23d1fb00ea5c97261e814765ec3640 [file] [log] [blame]
# RUN: llvm-mc -triple=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