blob: 8f441c5e4f6acc6b05f8d02f952535702e5938bd [file]
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#include <stdio.h>
#include <stdlib.h>
/* mingw-w64 headers */
#include "libtest.h"
int main(int argc, char **argv)
{
char **s;
mingw_test_init ();
s = _sys_errlist;
if (s) {
printf ("Msg 0: %s\n", s[0]);
} else {
printf ("Error list empty.\n");
_exit (EXIT_FAILURE);
}
return 0;
}