summaryrefslogtreecommitdiff
path: root/locale/tst-duplocale.c
blob: 53e5fbb8fec0863f9da3c7b74ec8588797f6608f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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"