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