2 ## --wrap may trigger archive extraction. Test that local symbols are initialized.
4 # RUN: rm -rf %t && split-file %s %t
5 # RUN: llvm-mc -filetype=obj -triple=x86_64 %t/a.s -o %t/a.o
6 # RUN: llvm-mc -filetype=obj -triple=x86_64 %t/b.s -o %t/b.o
7 # RUN: ld.lld %t/a.o --start-lib %t/b.o --end-lib -o %t/a --wrap pthread_create -o /dev/null
17 .global __wrap_pthread_create
18 __wrap_pthread_create
: