aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-plugin/pr15146a.c')
-rw-r--r--ld/testsuite/ld-plugin/pr15146a.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/pr15146a.c b/ld/testsuite/ld-plugin/pr15146a.c
new file mode 100644
index 00000000000..d85fe973cbc
--- /dev/null
+++ b/ld/testsuite/ld-plugin/pr15146a.c
@@ -0,0 +1,13 @@
+extern int xxx;
+
+int
+bar (void)
+{
+ return xxx;
+}
+
+int
+main ()
+{
+ return 0;
+}