summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr21903c.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr21903c.d')
-rw-r--r--ld/testsuite/ld-elf/pr21903c.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr21903c.d b/ld/testsuite/ld-elf/pr21903c.d
new file mode 100644
index 00000000000..d3910ec79b1
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr21903c.d
@@ -0,0 +1,3 @@
+#source: pr21903.s
+#ld: --no-define-common
+#error: --no-define-common may not be used without -shared