[flang-commits] [flang] c9e347a - [flang] Make .exe extension of the linker optional (NFC) (#73157)

via flang-commits flang-commits at lists.llvm.org
Wed Nov 22 16:09:33 PST 2023


Author: kkwli
Date: 2023-11-22T19:09:28-05:00
New Revision: c9e347a0ce98fe42c58d205b6f32ddda823c29d6

URL: https://github.com/llvm/llvm-project/commit/c9e347a0ce98fe42c58d205b6f32ddda823c29d6
DIFF: https://github.com/llvm/llvm-project/commit/c9e347a0ce98fe42c58d205b6f32ddda823c29d6.diff

LOG: [flang] Make .exe extension of the linker optional (NFC) (#73157)

Added: 
    

Modified: 
    flang/test/Driver/dynamic-linker.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Driver/dynamic-linker.f90 b/flang/test/Driver/dynamic-linker.f90
index 2745822dc107769..df119c22a2ea516 100644
--- a/flang/test/Driver/dynamic-linker.f90
+++ b/flang/test/Driver/dynamic-linker.f90
@@ -15,6 +15,6 @@
 ! GNU-LINKER-OPTIONS-SAME: "-rpath" "/path/to/dir"
 
 ! For MSVC, adding -static does not add any additional linker options.
-! MSVC-LINKER-OPTIONS: "{{.*}}link.exe"
+! MSVC-LINKER-OPTIONS: "{{.*}}link{{(.exe)?}}"
 ! MSVC-LINKER-OPTIONS-SAME: "-dll"
 ! MSVC-LINKER-OPTIONS-SAME: "-rpath" "/path/to/dir"


        


More information about the flang-commits mailing list