diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-03 06:01:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-03 06:01:38 +0000 |
commit | a3a238a978a7e5bb6a543b808e11442a102ee74c (patch) | |
tree | db1425bd57a284dc12c2f074f7f01820ff810a90 /nptl | |
parent | fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff (diff) | |
download | glibc-a3a238a978a7e5bb6a543b808e11442a102ee74c.zip glibc-a3a238a978a7e5bb6a543b808e11442a102ee74c.tar.gz glibc-a3a238a978a7e5bb6a543b808e11442a102ee74c.tar.bz2 |
Test use of locale functions in statically linked apps.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/tst-locale1.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nptl/tst-locale1.c b/nptl/tst-locale1.c new file mode 100644 index 0000000..3c88e72 --- /dev/null +++ b/nptl/tst-locale1.c @@ -0,0 +1,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); +} |