about summary refs log tree commit diff
path: root/linuxthreads/tst-tls1modb.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/tst-tls1modb.c')
-rw-r--r--linuxthreads/tst-tls1modb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/tst-tls1modb.c b/linuxthreads/tst-tls1modb.c
new file mode 100644
index 0000000000..be8c95b486
--- /dev/null
+++ b/linuxthreads/tst-tls1modb.c
@@ -0,0 +1,6 @@
+#include <tst-tls1.h>
+
+#ifdef TLS_REGISTER
+static __thread int b;
+TLS_REGISTER (b)
+#endif