static void test_visitor_in_int_overflow(TestInputVisitorData *data,

                                         const void *unused)

{

    int64_t res = 0;

    Error *err = NULL;

    Visitor *v;



    /* this will overflow a Qint/int64, so should be deserialized into

     * a QFloat/double field instead, leading to an error if we pass it

     * to visit_type_int. confirm this.

     */

    v = visitor_input_test_init(data, "%f", DBL_MAX);



    visit_type_int(v, NULL, &res, &err);

    error_free_or_abort(&err);

}

static void test_visitor_in_int_overflow(TestInputVisitorData *data,

                                         const void *unused)

{

    int64_t res = 0;

    Error *err = NULL;

    Visitor *v;



    







    v = visitor_input_test_init(data, "%f", DBL_MAX);



    visit_type_int(v, NULL, &res, &err);

    error_free_or_abort(&err);

}

static void FUNC_0(TestInputVisitorData *VAR_0,

                                         const void *VAR_1)

{

    int64_t res = 0;

    Error *err = NULL;

    Visitor *v;



    







    v = visitor_input_test_init(VAR_0, "%f", DBL_MAX);



    visit_type_int(v, NULL, &res, &err);

    error_free_or_abort(&err);

}

static void FUNC_0(TestInputVisitorData *VAR_0,
const void *VAR_1)
{ int64_t res = 0; Error *err = NULL; Visitor *v; v = visitor_input_test_init(VAR_0, "%f", DBL_MAX); visit_type_int(v, NULL, &res, &err); error_free_or_abort(&err); }