static void test_io_channel_ipv4_fd(void)
{
    QIOChannel *ioc;
    int fd = -1;
    fd = socket(AF_INET, SOCK_STREAM, 0);
    g_assert_cmpint(fd, >, -1);
    ioc = qio_channel_new_fd(fd, &error_abort);
    g_assert_cmpstr(object_get_typename(OBJECT(ioc)),
                    ==,
                    TYPE_QIO_CHANNEL_SOCKET);
    object_unref(OBJECT(ioc));
static void test_io_channel_ipv4_fd(void)
{
    QIOChannel *ioc;
    int fd = -1;
    fd = socket(AF_INET, SOCK_STREAM, 0);
    g_assert_cmpint(fd, >, -1);
    ioc = qio_channel_new_fd(fd, &error_abort);
    g_assert_cmpstr(object_get_typename(OBJECT(ioc)),
                    ==,
                    TYPE_QIO_CHANNEL_SOCKET);
    object_unref(OBJECT(ioc));
static void FUNC_0(void)
{
    QIOChannel *ioc;
    int VAR_0 = -1;
    VAR_0 = socket(AF_INET, SOCK_STREAM, 0);
    g_assert_cmpint(VAR_0, >, -1);
    ioc = qio_channel_new_fd(VAR_0, &error_abort);
    g_assert_cmpstr(object_get_typename(OBJECT(ioc)),
                    ==,
                    TYPE_QIO_CHANNEL_SOCKET);
    object_unref(OBJECT(ioc));
static void FUNC_0(void)
{ QIOChannel *ioc; int VAR_0 = -1; VAR_0 = socket(AF_INET, SOCK_STREAM, 0); g_assert_cmpint(VAR_0, >, -1); ioc = qio_channel_new_fd(VAR_0, &error_abort); g_assert_cmpstr(object_get_typename(OBJECT(ioc)),
==,
TYPE_QIO_CHANNEL_SOCKET); object_unref(OBJECT(ioc));