mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
15 lines
304 B
C
15 lines
304 B
C
/* Test that the thread-local locale works right in the main thread
|
|
when statically linked. */
|
|
|
|
#include "../argp/tst-argp1.c"
|
|
|
|
#include <pthread.h>
|
|
|
|
/* This is never called, just here to get pthreads linked in. */
|
|
void *
|
|
useless (void *a)
|
|
{
|
|
pthread_t th;
|
|
pthread_create (&th, 0, useless, a);
|
|
}
|