aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/indirect5a.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/indirect5a.c')
-rw-r--r--ld/testsuite/ld-elf/indirect5a.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/indirect5a.c b/ld/testsuite/ld-elf/indirect5a.c
new file mode 100644
index 0000000..9e150fe
--- /dev/null
+++ b/ld/testsuite/ld-elf/indirect5a.c
@@ -0,0 +1,9 @@
+extern void foo (long *);
+long bar;
+
+int
+main (void)
+{
+ foo (&bar);
+ return 0;
+}