Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
MC
/
Hexagon
/
registers_readonly.s
blob: cb9032b494ea4e3f8d06662bde58384c9c1faef8 [
file
] [
log
] [
blame
]
# RUN: not llvm-mc -triple=hexagon -filetype=obj -mv5 %s 2>&1 | FileCheck %s
# CHECK: 4:1: error: Cannot write to read-only register `PC'
pc
=
r0
# CHECK: 7:1: error: Cannot write to read-only register `PC'
c9
=
r0