mirror of git://sourceware.org/git/glibc.git
Test use of locale functions in statically linked apps.
This commit is contained in:
parent
fa9a4ff0ba
commit
a3a238a978
|
|
@ -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);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue