mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00: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"
|