glibc/locale/tst-duplocale.c

15 lines
236 B
C
Raw Normal View History

2009-11-18 00:23:57 +00:00
#include <locale.h>
#include <stdio.h>
static int
do_test (void)
{
locale_t d = duplocale (LC_GLOBAL_LOCALE);
if (d != (locale_t) 0)
freelocale (d);
return 0;
}
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"