about summary refs log tree commit diff
path: root/src/test/run-pass/packed/packed-struct-size.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/packed/packed-struct-size.rs')
-rw-r--r--src/test/run-pass/packed/packed-struct-size.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-pass/packed/packed-struct-size.rs b/src/test/run-pass/packed/packed-struct-size.rs
index 85e7f1544a0..27e07b87ff4 100644
--- a/src/test/run-pass/packed/packed-struct-size.rs
+++ b/src/test/run-pass/packed/packed-struct-size.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // run-pass
+#![allow(dead_code)]
 #![allow(non_camel_case_types)]
 #![allow(non_upper_case_globals)]