summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-discard/static.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-discard/static.d')
-rw-r--r--ld/testsuite/ld-discard/static.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-discard/static.d b/ld/testsuite/ld-discard/static.d
new file mode 100644
index 0000000000..e259cb4cb8
--- /dev/null
+++ b/ld/testsuite/ld-discard/static.d
@@ -0,0 +1,3 @@
+#source: static.s
+#ld: -T $srcdir/$subdir/discard.ld
+#error: undefined reference to `local symbols in discarded section \.data\.exit'
OpenPOWER on IntegriCloud