source: trunk/src/libctests/glibc/stdlib/tst-fmtmsg.c@ 2089

Last change on this file since 2089 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: 1.8 KB
Line 
1#include <fmtmsg.h>
2#include <mcheck.h>
3#include <stdio.h>
4#include <stdlib.h>
5#include <string.h>
6
7
8#define MM_TEST 10
9
10int
11main (void)
12{
13 int result = 0;
14
15 mtrace ();
16
17 char TEST[] = "ABCD";
18 if (addseverity (MM_TEST, TEST) != MM_OK)
19 {
20 puts ("addseverity failed");
21 result = 1;
22 }