2002-12-04 20:53:08 +01:00
|
|
|
/* 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. */
|
2007-04-07 00:19:46 +02:00
|
|
|
void *
|
|
|
|
useless (void *a)
|
2002-12-04 20:53:08 +01:00
|
|
|
{
|
2007-04-07 00:19:46 +02:00
|
|
|
pthread_t th;
|
|
|
|
pthread_create (&th, 0, useless, a);
|
2002-12-04 20:53:08 +01:00
|
|
|
}
|