int main (int argc, char **argv) { tests_start_mpfr (); tests_expect_abort (); printf ("[tassert] Check for good handling of assertions.\n"); MPFR_ASSERTN (0); tests_end_mpfr (); return -1; /* Should not be executed */ }
int main (int argc, char **argv) { tests_start_mpfr (); tests_expect_abort (); printf ("[tabort_defalloc1] Check for good handling of abort" " in memory function.\n"); (*__gmp_allocate_func) ((size_t) -1); tests_end_mpfr (); return -1; /* Should not be executed */ }
int main (int argc, char **argv) { tests_start_mpfr (); tests_expect_abort (); printf ("[tabort_prec_max] Check for good handling of abort" " in memory function.\n"); mpfr_abort_prec_max (); tests_end_mpfr (); return -1; /* Should not be executed */ }