brintos

brintos / llvm-project-archived public Read only

0
0
Text · 204 B · 2080ab6 Raw
8 lines · plain
1# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t2#3 4# Check that changes to a read-only register is caught.5 6{ c9:8 = r1:0 }7# CHECK: error: Cannot write to read-only register8