#NEWLINE# def test_dotdotdot_global_array( ) : #NEWLINE# #INDENT# ffi = FFI ( ) #NEWLINE# ffi . cdef ( 'int aa[...]; int bb[...];' ) #NEWLINE# lib = verify ( ffi , 'test_dotdotdot_global_array' , 'int aa[41]; int bb[12];' ) #NEWLINE# assert ( ffi . sizeof ( lib . aa ) == ( 41 * 4 ) ) #NEWLINE# assert ( ffi . sizeof ( lib . bb ) == ( 12 * 4 ) ) #NEWLINE# assert ( lib . aa [ 40 ] == lib . bb [ 11 ] == 0 ) #NEWLINE# py . test . raises ( IndexError , 'lib.aa[41]' ) #NEWLINE# py . test . raises ( IndexError , 'lib.bb[12]' )