blob: 6983879da44d79521eed93359e513e07d53594a6 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <math.h>
2#include <stdio.h>
3#include <stdlib.h>
4
5static int fail = 1;
6
7int
8matherr (struct exception *s)
9{
10 printf ("matherr is working\n");
11 fail = 0;
12 return 1;
13}
14
15static int
16do_test (void)
17{
18 _LIB_VERSION = _SVID_;
19 acos (2.0);
20 return fail;
21}
22
23#define TEST_FUNCTION do_test ()
24#include "../test-skeleton.c"