aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/pr11218.d
blob: 27019a801faa8182df9254ac2cd39435c44c07f0 (plain)
1
2
3
4
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'