summaryrefslogtreecommitdiff
path: root/elf/tst-secondary3mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-secondary3mod.c')
-rw-r--r--elf/tst-secondary3mod.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/elf/tst-secondary3mod.c b/elf/tst-secondary3mod.c
new file mode 100644
index 0000000000..edfb25bbb2
--- /dev/null
+++ b/elf/tst-secondary3mod.c
@@ -0,0 +1,13 @@
+#include "tst-secondary.h"
+
+int
+__attribute__ ((weak))
+bar (void)
+{
+ return WEAK;
+}
+
+void
+foo (void)
+{
+}