summaryrefslogtreecommitdiff
path: root/test/tls/tst-tlsmod16a.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tls/tst-tlsmod16a.c')
-rw-r--r--test/tls/tst-tlsmod16a.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tls/tst-tlsmod16a.c b/test/tls/tst-tlsmod16a.c
new file mode 100644
index 000000000..847c8090f
--- /dev/null
+++ b/test/tls/tst-tlsmod16a.c
@@ -0,0 +1,7 @@
+#include <tls.h>
+
+#if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
+int __thread tlsvar;
+#else
+int tlsvar;
+#endif