xref: /llvm-project/llvm/test/MC/Hexagon/multiple_errs.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
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
11