(tests): Add tst-endian.
[glibc/history.git] / nptl / tst-locale1.c
blob2ee4c3fbce91081b597c8726d283c8bbd6d071c3
1 /* Test that the thread-local locale works right in the main thread
2 when statically linked. */
4 #include "../locale/tst-C-locale.c"
6 #include <pthread.h>
7 #include <signal.h>
9 /* This is never called, just here to get pthreads linked in. */
10 int
11 useless (void)
13 pthread_t th;
14 pthread_create (&th, 0, (void *(*) (void *)) useless, 0);
15 /* This is to check __libc_current_sigrt* can be used in statically
16 linked apps. */
17 return SIGRTMIN;