summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/trunc-02.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/trunc-02.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/trunc-02.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/trunc-02.txt b/test/MC/Disassembler/SystemZ/trunc-02.txt
new file mode 100644
index 0000000000..e1e20516e8
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/trunc-02.txt
@@ -0,0 +1,5 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu 2>&1 | FileCheck %s
+# If the top bits are 0b10, the instruction must be 4 bytes long.
+# CHECK: warning: invalid instruction encoding
+# CHECK-NEXT: 0xb9 0x08 0x00
+0xb9 0x08 0x00