aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-misc/defsym1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-misc/defsym1.d')
-rw-r--r--ld/testsuite/ld-misc/defsym1.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-misc/defsym1.d b/ld/testsuite/ld-misc/defsym1.d
new file mode 100644
index 0000000..9c7644a
--- /dev/null
+++ b/ld/testsuite/ld-misc/defsym1.d
@@ -0,0 +1,9 @@
+#ld: --defsym foo=1 tmpdir/start.o tmpdir/libfoo.a
+#nm: -B
+#source: dummy.s
+
+# Check that --defsym works on archive.
+#failif
+#...
+0.* T bar
+#pass