summaryrefslogtreecommitdiff
path: root/nptl/tst-locale2.c
blob: a238209f87e903681b3cb98d93a717bd5d513f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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 *a)
{
  pthread_t th;
  pthread_create (&th, 0, useless, a);
  return NULL;
}