brintos

brintos / llvm-project-archived public Read only

0
0
Text · 195 B · 5dd3f83 Raw
7 lines · plain
1# RUN: llvm-mc -triple=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t2 3# Check that changes to a read-only register is caught.4 5	{ pc = r0 }6# CHECK: error: Cannot write to read-only register7