aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/pr19167.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-gc/pr19167.d')
-rw-r--r--ld/testsuite/ld-gc/pr19167.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-gc/pr19167.d b/ld/testsuite/ld-gc/pr19167.d
new file mode 100644
index 0000000..b8e37be
--- /dev/null
+++ b/ld/testsuite/ld-gc/pr19167.d
@@ -0,0 +1,11 @@
+#source: pr19167a.s
+#source: pr19167b.s
+#ld: --gc-sections -e _start
+#objdump: -s -j _foo
+#target: *-*-linux* *-*-gnu*
+#notarget: *-*-*aout *-*-*oldld frv-*-linux* metag-*-linux*
+
+#...
+Contents of section _foo:
+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+[ \t]+This is a test.*
+#pass