llvm/test/MC/Hexagon/multiple_errs.s
raw| 1 | # RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t |
| 2 | # |
| 3 | |
| 4 | { |
| 5 | if (!p0) r0=r1; |
| 6 | if (!p0) r0=r2; |
| 7 | trap0(#15); |
| 8 | } |
| 9 | # CHECK: error: register `R0' modified more than once |
| 10 | # CHECK: error: Instruction is marked `isSolo' and cannot have other instructions in the same packet |