

def test_vararg():
    ffi = FFI(backend=FakeBackend())
    ffi.cdef('short foo(int, ...);')
    C = ffi.dlopen(None)
    func = C.foo
    assert (C.name == 'foo')
    assert (func.BType == '<func (<int>), <short>, True>')

dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/cffi0/test_parsing.py test_vararg/VarMisuse@44/60 `func`->`C`