aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/dwarf1.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/dwarf1.c')
-rw-r--r--ld/testsuite/ld-elf/dwarf1.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/dwarf1.c b/ld/testsuite/ld-elf/dwarf1.c
new file mode 100644
index 000000000000..2895d4c8a770
--- /dev/null
+++ b/ld/testsuite/ld-elf/dwarf1.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include "dwarf1.h"
+
+struct foo_s foo;
+
+void
+doprintf (void)
+{
+ printf ("OK\n");
+}