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