summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/testsuite/ld-scripts/align-with-input.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/align-with-input.d b/ld/testsuite/ld-scripts/align-with-input.d
new file mode 100644
index 0000000000..f9c30d3bf3
--- /dev/null
+++ b/ld/testsuite/ld-scripts/align-with-input.d
@@ -0,0 +1,3 @@
+#source: script.s
+#ld: -T align-with-input.t
+#error: .*:[0-9]+: error: align with input and explicit align specified