source: branches/libc-0.6/src/libctests/glibc/math/test-matherr.c

Last change on this file was 2036, checked in by bird, 20 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 293 bytes
Line 
1#undef _SVID_SOURCE
2#define _SVID_SOURCE
3#include <math.h>
4#include <stdio.h>
5#include <stdlib.h>
6
7static int fail = 1;
8
9int
10matherr (struct exception *s)
11{
12 printf ("matherr is working\n");
13 fail = 0;
14 return 1;
15}
16
17int
18main (void)
19{
20 _LIB_VERSION = _SVID_;
21 acos (2.0);
22 return fail;
23}
Note: See TracBrowser for help on using the repository browser.