]> granicus.if.org Git - clang/commitdiff
Fix test from r346439 to also work on Windows due to path separator differences.
authorDouglas Yung <douglas.yung@sony.com>
Fri, 9 Nov 2018 02:44:07 +0000 (02:44 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Fri, 9 Nov 2018 02:44:07 +0000 (02:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@346468 91177308-0d34-0410-b5e6-96231b3b80d8

test/Modules/mismatch-diagnostics.cpp

index 7754bcee73ed2658b72fd9d051bd6893a0379b6a..038e367e39738a61b4d453f52001021e8bd1fcee 100644 (file)
@@ -17,6 +17,6 @@ export module mismatching_module;
 #ifdef CHECK_MISMATCH
 import mismatching_module;
 // CHECK: error: POSIX thread support was enabled in PCH file but is currently disabled
-// CHECK-NEXT: module file {{.*}}/mismatching_module.pcm cannot be loaded due to a configuration mismatch with the current compilation
+// CHECK-NEXT: module file {{.*[/|\\\\]}}mismatching_module.pcm cannot be loaded due to a configuration mismatch with the current compilation
 #endif