xref: /netbsd-src/external/lgpl3/mpfr/dist/tests/mpf_compat.c (revision ba125506a622fe649968631a56eba5d42ff57863)
1efee5258Smrg /* Test compatibility mpf-mpfr.
2efee5258Smrg 
3*ba125506Smrg Copyright 2003, 2005-2023 Free Software Foundation, Inc.
4efdec83bSmrg Contributed by the AriC and Caramba projects, INRIA.
5efee5258Smrg 
6efee5258Smrg This file is part of the GNU MPFR Library.
7efee5258Smrg 
8efee5258Smrg The GNU MPFR Library is free software; you can redistribute it and/or modify
9efee5258Smrg it under the terms of the GNU Lesser General Public License as published by
10efee5258Smrg the Free Software Foundation; either version 3 of the License, or (at your
11efee5258Smrg option) any later version.
12efee5258Smrg 
13efee5258Smrg The GNU MPFR Library is distributed in the hope that it will be useful, but
14efee5258Smrg WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15efee5258Smrg or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
16efee5258Smrg License for more details.
17efee5258Smrg 
18efee5258Smrg You should have received a copy of the GNU Lesser General Public License
19efee5258Smrg along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
202ba2404bSmrg https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
21efee5258Smrg 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
22efee5258Smrg 
23299c6f0cSmrg #include "mpfr-test.h"
24299c6f0cSmrg 
25299c6f0cSmrg #ifndef MPFR_USE_MINI_GMP
26299c6f0cSmrg 
27efee5258Smrg #define MPF
28efee5258Smrg #define mpf_free_str mpfr_free_str
29efee5258Smrg #include "mpf_compat.h"
30299c6f0cSmrg 
31299c6f0cSmrg #else
32299c6f0cSmrg 
33299c6f0cSmrg int
main(void)34299c6f0cSmrg main (void)
35299c6f0cSmrg {
36299c6f0cSmrg   return 77;
37299c6f0cSmrg }
38299c6f0cSmrg 
39299c6f0cSmrg #endif
40