diff --git a/Lib/test/test_ctypes/test_generated_structs.py b/Lib/test/test_ctypes/test_generated_structs.py index c7f100765166a3..4cd2e4a91ebb60 100644 --- a/Lib/test/test_ctypes/test_generated_structs.py +++ b/Lib/test/test_ctypes/test_generated_structs.py @@ -405,6 +405,16 @@ class Example_gh_86098_pack(Structure): ("b", c_uint8, 8), ("c", c_uint32, 16)] +@register() +class Example_gh_59324_17(Structure): + _fields_ = [("a", c_int32, 17), + ("b", c_int16, 1)] + +@register() +class Example_gh_59324_13(Structure): + _fields_ = [("a", c_int32, 13), + ("b", c_int16, 5)] + @register() class AnonBitfields(Structure): class X(Structure):