1# REQUIRES: x86, shell 2 3# RUN: rm -rf %t.dir 4# RUN: mkdir -p %t.dir/build 5# RUN: cd %t.dir/build 6# RUN: lld-link %p/Inputs/resource.res /subsystem:console /machine:x64 \ 7# RUN: /entry:__ImageBase /linkrepro:. /out:%t.exe 8# RUN: tar xf repro.tar 9# RUN: diff %p/Inputs/resource.res repro/%:p/Inputs/resource.res 10# RUN: FileCheck %s --check-prefix=RSP < repro/response.txt 11 12# RSP: resource.res 13