about summary refs log tree commit diff
path: root/elf/tst-tls19mod1.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tls19mod1.c')
-rw-r--r--elf/tst-tls19mod1.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/elf/tst-tls19mod1.c b/elf/tst-tls19mod1.c
new file mode 100644
index 0000000000..2790097ae5
--- /dev/null
+++ b/elf/tst-tls19mod1.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+
+extern int bar (void);
+extern int baz (void);
+
+int
+foo (void)
+{
+  int v1 = bar ();
+  int v2 = baz ();
+
+  printf ("bar=%d, baz=%d\n", v1, v2);
+
+  return v1 != 666 || v2 != 42;
+}