Sign in
cobalt
/
cobalt
/
b6855995c22e1d087309b04ad43845d3c6e263ee
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
test
/
MC
/
Hexagon
/
registers_readonly.s
blob: cf109feef0361ad060c18210a0a5f529af7bfa16 [
file
] [
log
] [
blame
]
# RUN: not llvm-mc -arch=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