

def test_cannot_have_only_variadic_part():
    ffi = FFI()
    e = py.test.raises(CDefError, ffi.cdef, 'int foo(...);')
    assert (str(ffi.value) == "foo: a function with only '(...)' as argument is not correct C")

dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/cffi0/test_parsing.py test_cannot_have_only_variadic_part/VarMisuse@36/53 `e`->`ffi`