1 # name: --gc-sections with shared library
3 # ld: --gc-sections -e main tmpdir/pr11218-2.o tmpdir/pr11218-1.so
4 # target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
5 # error: undefined reference to `unresolved_detected_at_runtime_not_at_linktime'