aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/assert2.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-01-10 14:37:40 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-01-10 14:37:40 +0000
commiteda17dc18d7cf9ef3323c3c1a4d46cc218fa962b (patch)
tree32a48e32b0eb409eb03077bdc65f6eb9bee26d98 /ld/testsuite/ld-scripts/assert2.d
parentf74656046a5263f1849d9288488d7de73627e1e1 (diff)
downloadgdb-eda17dc18d7cf9ef3323c3c1a4d46cc218fa962b.zip
gdb-eda17dc18d7cf9ef3323c3c1a4d46cc218fa962b.tar.gz
gdb-eda17dc18d7cf9ef3323c3c1a4d46cc218fa962b.tar.bz2
Add a test for linker ASSERT.
2011-01-10 H.J. Lu <hongjiu.lu@intel.com> * ld-scripts/assert.exp: Run assert2. * ld-scripts/assert2.d: New. * ld-scripts/assert2.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-scripts/assert2.d')
-rw-r--r--ld/testsuite/ld-scripts/assert2.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/assert2.d b/ld/testsuite/ld-scripts/assert2.d
new file mode 100644
index 0000000..3b083ff
--- /dev/null
+++ b/ld/testsuite/ld-scripts/assert2.d
@@ -0,0 +1,3 @@
+# source: assert.s
+# ld: -T assert2.t
+# error: assert failed.