about summary refs log tree commit diff
path: root/elf/tst-tlsmod15a.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod15a.c')
-rw-r--r--elf/tst-tlsmod15a.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/tst-tlsmod15a.c b/elf/tst-tlsmod15a.c
new file mode 100644
index 0000000000..66c707129a
--- /dev/null
+++ b/elf/tst-tlsmod15a.c
@@ -0,0 +1,6 @@
+extern int nonexistent_dummy_var;
+int *
+foo (void)
+{
+  return &nonexistent_dummy_var;
+}