mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
14 lines
280 B
C
14 lines
280 B
C
|
/* 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);
|
||
|
}
|