/* Test that the gettext() results come out in the correct encoding for
locales that differ only in their encoding.
- Copyright (C) 2001, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2001-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Bruno Haible <bruno@clisp.org>, 2001, 2005.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
#include <libintl.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
-int
-main (void)
+static int
+do_test (void)
{
char *s;
int result = 0;
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"