aboutsummaryrefslogtreecommitdiff
path: root/test/protected_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-07-03 23:52:58 -0700
committeriximeow <me@iximeow.net>2021-07-03 23:52:58 -0700
commit404cb6e81988ed84a75c89d67bf324409e22a390 (patch)
tree1378f5c8d8d1834bbad5ba71ad5f79447a0017ac /test/protected_mode/mod.rs
parentdd83b3dd73b6c9d0e69a02dea94038988ea5ca65 (diff)
update protected_mode to match long_mode docs, apis
Diffstat (limited to 'test/protected_mode/mod.rs')
-rw-r--r--test/protected_mode/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs
index c9afc0b..76876e3 100644
--- a/test/protected_mode/mod.rs
+++ b/test/protected_mode/mod.rs
@@ -1327,6 +1327,7 @@ fn test_vex() {
test_invalid_under(&InstDecoder::minimal(), bytes);
}
+ #[allow(dead_code)]
fn test_instr_invalid(bytes: &[u8]) {
test_invalid_under(&InstDecoder::minimal().with_avx(), bytes);
test_invalid_under(&InstDecoder::default(), bytes);