aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/pr18223.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-gc/pr18223.d')
-rw-r--r--ld/testsuite/ld-gc/pr18223.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-gc/pr18223.d b/ld/testsuite/ld-gc/pr18223.d
new file mode 100644
index 0000000..9fd1912
--- /dev/null
+++ b/ld/testsuite/ld-gc/pr18223.d
@@ -0,0 +1,7 @@
+#name: --gc-sections with .text._init
+#ld: --gc-sections -shared
+#nm: -n
+
+#...
+[0-9a-f]+ t +_init
+#...