[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / Hexagon / ro-cc9.s
blob0596ca1627f9b74aa379bdce58950bacd1c0308c
1 # RUN: not llvm-mc -arch=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t
4 # Check that changes to a read-only register is caught.
6 { c9:8 = r1:0 }
7 # CHECK: error: Cannot write to read-only register