diff --git a/test_suite/tests/test_gen.rs b/test_suite/tests/test_gen.rs index c429500c..288ba594 100644 --- a/test_suite/tests/test_gen.rs +++ b/test_suite/tests/test_gen.rs @@ -701,6 +701,13 @@ fn test_gen() { #[serde(other)] Unknown, } + + #[derive(Serialize)] + #[repr(packed)] + struct Packed { + x: u8, + y: u16, + } } //////////////////////////////////////////////////////////////////////////