1 ! RUN: %flang -### --target=aarch64-windows-msvc -resource-dir=%S/Inputs/resource_dir %S/Inputs/hello.f90 -v 2>&1 | FileCheck %s --check-prefixes=MSVC
2 ! RUN: %flang -### --target=aarch64-windows-msvc -resource-dir=%S/Inputs/resource_dir -fms-runtime-lib=static_dbg %S/Inputs/hello.f90 -v 2>&1 | FileCheck %s --check-prefixes=MSVC-DEBUG
3 ! RUN: %flang -### --target=aarch64-windows-msvc -resource-dir=%S/Inputs/resource_dir -fms-runtime-lib=dll %S/Inputs/hello.f90 -v 2>&1 | FileCheck %s --check-prefixes=MSVC-DLL
4 ! RUN: %flang -### --target=aarch64-windows-msvc -resource-dir=%S/Inputs/resource_dir -fms-runtime-lib=dll_dbg %S/Inputs/hello.f90 -v 2>&1 | FileCheck %s --check-prefixes=MSVC-DLL-DEBUG
7 ! MSVC-SAME: --dependent-lib=clang_rt.builtins.lib
9 ! MSVC-SAME: --dependent-lib=libcmt
10 ! MSVC-SAME: --dependent-lib=FortranRuntime.static.lib
11 ! MSVC-SAME: --dependent-lib=FortranDecimal.static.lib
14 ! MSVC-DEBUG-SAME: --dependent-lib=clang_rt.builtins.lib
15 ! MSVC-DEBUG-SAME: -D_MT
16 ! MSVC-DEBUG-SAME: -D_DEBUG
17 ! MSVC-DEBUG-SAME: --dependent-lib=libcmtd
18 ! MSVC-DEBUG-SAME: --dependent-lib=FortranRuntime.static_dbg.lib
19 ! MSVC-DEBUG-SAME: --dependent-lib=FortranDecimal.static_dbg.lib
22 ! MSVC-DLL-SAME: --dependent-lib=clang_rt.builtins.lib
23 ! MSVC-DLL-SAME: -D_MT
24 ! MSVC-DLL-SAME: -D_DLL
25 ! MSVC-DLL-SAME: --dependent-lib=msvcrt
26 ! MSVC-DLL-SAME: --dependent-lib=FortranRuntime.dynamic.lib
27 ! MSVC-DLL-SAME: --dependent-lib=FortranDecimal.dynamic.lib
29 ! MSVC-DLL-DEBUG: -fc1
30 ! MSVC-DLL-DEBUG-SAME: --dependent-lib=clang_rt.builtins.lib
31 ! MSVC-DLL-DEBUG-SAME: -D_MT
32 ! MSVC-DLL-DEBUG-SAME: -D_DEBUG
33 ! MSVC-DLL-DEBUG-SAME: -D_DLL
34 ! MSVC-DLL-DEBUG-SAME: --dependent-lib=msvcrtd
35 ! MSVC-DLL-DEBUG-SAME: --dependent-lib=FortranRuntime.dynamic_dbg.lib
36 ! MSVC-DLL-DEBUG-SAME: --dependent-lib=FortranDecimal.dynamic_dbg.lib