Skip to content

Commit

Permalink
Add examples from pythongh-59324
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou committed Sep 18, 2024
1 parent 88f39ac commit 2298704
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Lib/test/test_ctypes/test_generated_structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2298704

Please sign in to comment.