diff options
Diffstat (limited to 'ld/testsuite/ld-gc/pr11218.d')
-rw-r--r-- | ld/testsuite/ld-gc/pr11218.d | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-gc/pr11218.d b/ld/testsuite/ld-gc/pr11218.d new file mode 100644 index 0000000..27019a8 --- /dev/null +++ b/ld/testsuite/ld-gc/pr11218.d @@ -0,0 +1,5 @@ +# name: --gc-sections with shared library +# source: dummy.s +# ld: --gc-sections -e main tmpdir/pr11218-2.o tmpdir/pr11218-1.so +# target: *-*-linux* +# error: undefined reference to `unresolved_detected_at_runtime_not_at_linktime' |