mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Test use of locale functions in statically linked apps.
This commit is contained in:
parent
fa9a4ff0ba
commit
a3a238a978
13
nptl/tst-locale1.c
Normal file
13
nptl/tst-locale1.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user