From 95ed9d843825518c57cedc32476f5be4b2675b3e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 30 Aug 2002 22:07:28 +0000 Subject: * locale/duplocale.c: Include . --- linuxthreads/tst-static-locale.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 linuxthreads/tst-static-locale.c (limited to 'linuxthreads/tst-static-locale.c') diff --git a/linuxthreads/tst-static-locale.c b/linuxthreads/tst-static-locale.c new file mode 100644 index 0000000000..3c88e729ba --- /dev/null +++ b/linuxthreads/tst-static-locale.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 + +/* This is never called, just here to get pthreads linked in. */ +void +useless (void) +{ + pthread_create (0, 0, 0, 0); +} -- cgit 1.4.1