1 | /* Test that the thread-local locale works right in the main thread |
---|---|
2 | when statically linked. */ |
3 | |
4 | #include "../argp/tst-argp1.c" |
5 | |
6 | #include <pthread.h> |
7 | |
8 | /* This is never called, just here to get pthreads linked in. */ |
9 | void * |
10 | useless (void *a) |
11 | { |
12 | pthread_t th; |
13 | pthread_create (newthread: &th, attr: 0, start_routine: useless, arg: a); |
14 | return NULL; |
15 | } |
16 |