Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
MC
/
Hexagon
/
ro-c9.s
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