blob: 2080ab6c13cc454a1f23a5d706fe479bbc3bcb7f [file] [log] [blame]
# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t
#
# Check that changes to a read-only register is caught.
{ c9:8 = r1:0 }
# CHECK: error: Cannot write to read-only register