aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/armv8/a64.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs
index ed2b49d..11426ea 100644
--- a/test/armv8/a64.rs
+++ b/test/armv8/a64.rs
@@ -4339,3 +4339,17 @@ fn test_movi() {
assert!(errs.is_empty());
}
+
+#[test]
+fn test_weird_str() {
+ const TESTS: &[([u8; 4], &'static str)] = &[
+ ([0x08, 0xdb, 0x7c, 0xf8], "ldr x8, [x24, w28, sxtw 3]"),
+ ];
+ let errs = run_tests(TESTS);
+
+ for err in errs.iter() {
+ println!("{}", err);
+ }
+
+ assert!(errs.is_empty());
+}