S390: Optimize wmemset.
[glibc.git] / math / test-matherr.c
blob6983879da44d79521eed93359e513e07d53594a6
1 #include <math.h>
2 #include <stdio.h>
3 #include <stdlib.h>
5 static int fail = 1;
7 int
8 matherr (struct exception *s)
10 printf ("matherr is working\n");
11 fail = 0;
12 return 1;
15 static int
16 do_test (void)
18 _LIB_VERSION = _SVID_;
19 acos (2.0);
20 return fail;
23 #define TEST_FUNCTION do_test ()
24 #include "../test-skeleton.c"