#NEWLINE# def test_const_array_fields_unknownlength( ) : #NEWLINE# #INDENT# ffi = FFI ( ) #NEWLINE# ffi . cdef ( 'struct foo_s { const int a[...]; ...; };' ) #NEWLINE# lib = verify ( ffi , 'test_const_array_fields_unknownlength' , '\n        struct foo_s { const int a[4]; };' ) #NEWLINE# foo_s = ffi . typeof ( 'struct foo_s' ) #NEWLINE# assert ( foo_s . fields [ 0 ] [ 0 ] == 'a' ) #NEWLINE# assert ( foo_s . fields [ 0 ] [ 1 ] . type is ffi . typeof ( 'int[4]' ) )