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