diff options
Diffstat (limited to 'tests/compile/packed_structs.pyx')
-rw-r--r-- | tests/compile/packed_structs.pyx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/compile/packed_structs.pyx b/tests/compile/packed_structs.pyx new file mode 100644 index 000000000..6e722b46d --- /dev/null +++ b/tests/compile/packed_structs.pyx @@ -0,0 +1,10 @@ +# mode: compile + +cdef extern from *: + cdef packed struct MyStruct: + char a + +cdef public packed struct PublicStruct: + int a + unsigned char b + int c |