summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/orphan_nu.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pe/orphan_nu.d')
-rw-r--r--ld/testsuite/ld-pe/orphan_nu.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/orphan_nu.d b/ld/testsuite/ld-pe/orphan_nu.d
new file mode 100644
index 0000000..5e88da7
--- /dev/null
+++ b/ld/testsuite/ld-pe/orphan_nu.d
@@ -0,0 +1,13 @@
+#source: orphana_nu.s
+#source: orphanb.s
+#source: orphand.s
+#source: orphane.s
+#ld: --file-align 1 --section-align 1 --no-leading-underscore
+#objdump: -h --wide
+
+#...
+ +0 +\.text .*
+ +1 +\.foo +0+20 .*
+ +2 +\.foo +0+20 .*
+ +3 +\.idata .*
+#pass