]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-elf/pr9676-3.c
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-elf / pr9676-3.c
diff --git a/ld/testsuite/ld-elf/pr9676-3.c b/ld/testsuite/ld-elf/pr9676-3.c
new file mode 100644 (file)
index 0000000..e5985df
--- /dev/null
@@ -0,0 +1,7 @@
+extern int foo (void) __attribute__((section (".gnu.linkonce.t.1"), weak));
+
+int
+foo (void)
+{
+  return 1;
+}