# Tests functionality of -t | |
# | |
# Tests generated using the source files below | |
# main file | |
# int main() | |
# { | |
# fn(); | |
# return 0; | |
# } | |
# | |
# archive file | |
# int fn() | |
# { | |
# return 0; | |
# } | |
# | |
# int fn1() | |
# { | |
# return 0; | |
# } | |
# gcc -c main.c fn.c fn1.c | |
RUN: lld -flavor old-gnu -target x86_64-linux \ | |
RUN: %p/Inputs/mainobj.x86_64 %p/Inputs/libfnarchive.a -t --noinhibit-exec 2>&1 | \ | |
RUN: FileCheck -check-prefix INPUTFILES %s | |
#INPUTFILES: mainobj.x86_64 | |
#INPUTFILES: libfnarchive.a(fn.o) |