mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
15 lines
236 B
C
15 lines
236 B
C
#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"
|