]> sourceware.org Git - glibc.git/commitdiff
Test use of locale functions in statically linked apps.
authorUlrich Drepper <drepper@redhat.com>
Tue, 3 Dec 2002 06:01:38 +0000 (06:01 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 3 Dec 2002 06:01:38 +0000 (06:01 +0000)
nptl/tst-locale1.c [new file with mode: 0644]

diff --git a/nptl/tst-locale1.c b/nptl/tst-locale1.c
new file mode 100644 (file)
index 0000000..3c88e72
--- /dev/null
@@ -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);
+}
This page took 0.036306 seconds and 5 git commands to generate.