3 # RUN: rm -rf %t.dir; split-file %s %t.dir
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-windows %t.dir/foo.s -o %t.dir/foo.obj
7 # RUN: llvm-ar rcsT foo.lib foo.obj
9 # RUN: lld-link foo.lib /out:/dev/null /reproduce:repro.tar \
10 # RUN: /subsystem:console /machine:x64
11 # RUN: tar tf repro.tar | FileCheck -DPATH='repro/%:t.dir' %s
13 # RUN: lld-link /wholearchive foo.lib /out:/dev/null /reproduce:repro2.tar \
14 # RUN: /subsystem:console /machine:x64
15 # RUN: tar tf repro2.tar | FileCheck -DPATH='repro2/%:t.dir' %s
17 # CHECK-DAG: [[PATH]]/foo.lib
18 # CHECK-DAG: [[PATH]]/foo.obj