

def test_typedef_array_convert_array_to_pointer():
    ffi = FFI(backend=FakeBackend())
    ffi.cdef('\n        typedef int (*fn_t)(int[5]);\n        ')
    with ffi._lock:
        type = ffi._parser.parse_type('fn_t')
        BType = ffi._get_cached_btype(BType)
    assert (str(BType) == '<func (<pointer to <int>>), <int>, False>')

dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/cffi0/test_parsing.py test_typedef_array_convert_array_to_pointer/VarMisuse@51/94 `type`->`BType`