Test use of locale functions in statically linked apps.

This commit is contained in:
Ulrich Drepper 2002-12-03 06:01:38 +00:00
parent fa9a4ff0ba
commit a3a238a978

13
nptl/tst-locale1.c Normal file
View file

@ -0,0 +1,13 @@
/* Test that the thread-local locale works right in the main thread
when statically linked. */
#include "../locale/tst-C-locale.c"
#include <pthread.h>
/* This is never called, just here to get pthreads linked in. */
void
useless (void)
{
pthread_create (0, 0, 0, 0);
}