aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-selective/1.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-selective/1.c')
-rw-r--r--ld/testsuite/ld-selective/1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-selective/1.c b/ld/testsuite/ld-selective/1.c
new file mode 100644
index 0000000..1202367
--- /dev/null
+++ b/ld/testsuite/ld-selective/1.c
@@ -0,0 +1,12 @@
+/* _start should be the only thing left after GC. */
+
+void _start() __asm__("_start");
+void _start()
+{
+}
+
+void dropme1()
+{
+}
+
+int dropme2[102] = { 0 };