From 878a9a9c0809930499920eb6197b469c71904d5e Mon Sep 17 00:00:00 2001 From: David Truby Date: Wed, 17 Jul 2024 11:00:59 +0000 Subject: [PATCH] Fix windows path (\\ vs /) --- flang/test/Driver/linker-flags.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flang/test/Driver/linker-flags.f90 b/flang/test/Driver/linker-flags.f90 index 6b8957cdbcf3a5..ac9500d7c45cec 100644 --- a/flang/test/Driver/linker-flags.f90 +++ b/flang/test/Driver/linker-flags.f90 @@ -34,7 +34,7 @@ ! UNIX-F128LIBQUADMATH-SAME: "-lFortranFloat128Math" "--as-needed" "-lquadmath" "--no-as-needed" ! SOLARIS-F128LIBQUADMATH-SAME: "-lFortranFloat128Math" "-z" "ignore" "-lquadmath" "-z" "record" ! UNIX-SAME: "-lFortranRuntime" "-lFortranDecimal" "-lm" -! COMPILER-RT: "{{.*}}/libclang_rt.builtins.a" +! COMPILER-RT: "{{.*}}{{\\|/}}libclang_rt.builtins.a" ! DARWIN-LABEL: "{{.*}}ld{{(\.exe)?}}" ! DARWIN-SAME: "[[object_file]]"