mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
c4a6d85994
2002-12-04 Ulrich Drepper <drepper@redhat.com> * argp/Makefile (tests): Add tst-argp1.
14 lines
275 B
C
14 lines
275 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)
|
|
{
|
|
pthread_create (0, 0, 0, 0);
|
|
}
|