Sign in
llvm
/
llvm
/
8fac8d9af44e4c27c19b4eac3a1f88ccce3d7fc0
/
.
/
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