aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/armv8/a64.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs
index c251d4a..dde9802 100644
--- a/test/armv8/a64.rs
+++ b/test/armv8/a64.rs
@@ -2,6 +2,8 @@ use yaxpeax_arch::{Arch, Decoder, LengthedInstruction};
use yaxpeax_arm::armv8::a64::{ARMv8, Instruction, Operand, Opcode, SizeCode, ShiftStyle};
use yaxpeax_arm::armv8::a64::DecodeError;
+use std::fmt;
+
fn test_decode(data: [u8; 4], expected: Instruction) {
let mut reader = yaxpeax_arch::U8Reader::new(&data[..]);
let instr = <ARMv8 as Arch>::Decoder::default().decode(&mut reader).unwrap();