summaryrefslogtreecommitdiff
path: root/linuxthreads/tst-static-locale.c
blob: 3c88e729ba17af0b819c9607249c58963fceab01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test that the thread-local locale works right in the main thread
   when statically linked.  */

#include "../locale/tst-C-locale.c"

#include <pthread.h>

/* This is never called, just here to get pthreads linked in.  */
void
useless (void)
{
  pthread_create (0, 0, 0, 0);
}