

def test_simple():
    ffi = FFI(backend=FakeBackend())
    ffi.cdef('double sin(double x);')
    m = ffi.dlopen(lib_m)
    func = m.sin
    assert (func.name == 'sin')
    assert (m.BType == '<func (<double>), <double>, False>')

dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/cffi0/test_parsing.py test_simple/VarMisuse@53/70 `func`->`m`