summaryrefslogtreecommitdiff
path: root/tests/from_brain.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/from_brain.rs')
-rw-r--r--tests/from_brain.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/from_brain.rs b/tests/from_brain.rs
index a72f561..9c33dbf 100644
--- a/tests/from_brain.rs
+++ b/tests/from_brain.rs
@@ -2460,3 +2460,11 @@ fn inst_1111() {
test_display(&0b1111_1101000_00100_11_1_00011_001_00110u32.to_le_bytes(), "{ if (p1.new) r7:6 = contains(r4, r3) }");
}
+
+#[test]
+fn no_panic() {
+ test_invalid(
+ &[253, 67, 36, 65, 68, 143, 143, 143, 143, 143, 143, 143, 3, 0, 2, 0, 143],
+ DecodeError::InvalidOpcode
+ );
+}