summaryrefslogtreecommitdiff
path: root/test/nptl/tst-tls5mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-tls5mode.c')
-rw-r--r--test/nptl/tst-tls5mode.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/nptl/tst-tls5mode.c b/test/nptl/tst-tls5mode.c
new file mode 100644
index 000000000..d30b06752
--- /dev/null
+++ b/test/nptl/tst-tls5mode.c
@@ -0,0 +1,8 @@
+#include "tst-tls5.h"
+
+#ifdef TLS_REGISTER
+static __thread int e1 = 24;
+static __thread char e2 [32] __attribute__ ((aligned (64)));
+TLS_REGISTER (e1)
+TLS_REGISTER (e2)
+#endif