

def test_remove_comments():
    ffi = FFI(backend=FakeBackend())
    ffi.cdef("\n        double /*comment here*/ sin   // blah blah\n        /* multi-\n           line-\n           //comment */  (\n        // foo\n        double // bar      /* <- ignored, because it's in a comment itself\n        x, double/*several*//*comment*/y) /*on the same line*/\n        ;\n    ")
    m = ffi.dlopen(lib_m)
    func = m.sin
    assert (ffi.name == 'sin')
    assert (func.BType == '<func (<double>, <double>), <double>, False>')

dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/cffi0/test_parsing.py test_remove_comments/VarMisuse@44/153 `func`->`ffi`