[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / Hexagon / ro-c9.s
blob5dd3f8320c23d1fb00ea5c97261e814765ec3640
1 # RUN: llvm-mc -triple=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t
3 # Check that changes to a read-only register is caught.
5 { pc = r0 }
6 # CHECK: error: Cannot write to read-only register