summaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/PacketRules/solo.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Hexagon/PacketRules/solo.s')
-rw-r--r--test/MC/Hexagon/PacketRules/solo.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/Hexagon/PacketRules/solo.s b/test/MC/Hexagon/PacketRules/solo.s
new file mode 100644
index 000000000000..86107d52f1fc
--- /dev/null
+++ b/test/MC/Hexagon/PacketRules/solo.s
@@ -0,0 +1,5 @@
+# RUN: not llvm-mc -arch=hexagon -filetype=asm %s 2>%t; FileCheck %s <%t
+
+{ brkpt
+ r0 = r0 }
+# CHECK: 3:3: error: Instruction is marked `isSolo' and cannot have other instructions in the same packet