]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/elf/weaksym.test
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / test / elf / weaksym.test
1 # Tests that a weak reference remains a weak reference,
2 # even if a shared library defines the symbol weak as well.
3
4 RUN: lld -flavor gnu  -target x86_64 -shared %p/Inputs/weaksym.o -L%p/Inputs -lweaksym -o %t1
5 RUN: llvm-nm -n %t1 | FileCheck -check-prefix CHECKSYMS %s
6
7 CHECKSYMS: w weaksym