aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr9676-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr9676-3.c')
-rw-r--r--ld/testsuite/ld-elf/pr9676-3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr9676-3.c b/ld/testsuite/ld-elf/pr9676-3.c
new file mode 100644
index 0000000..e5985df
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr9676-3.c
@@ -0,0 +1,7 @@
+extern int foo (void) __attribute__((section (".gnu.linkonce.t.1"), weak));
+
+int
+foo (void)
+{
+ return 1;
+}