diff --git a/clang/test/Driver/resource-dir.cpp b/clang/test/Driver/resource-dir.cpp index 484d7f557623..106e88399551 100644 --- a/clang/test/Driver/resource-dir.cpp +++ b/clang/test/Driver/resource-dir.cpp @@ -5,6 +5,6 @@ // RUN: %clang %s -fsyntax-only -ccc-install-dir /my/install/dir -### 2> %t.log // RUN: FileCheck %s --check-prefix=CHECK-INSTALL-DIR < %t.log -// CHECK-INSTALL-DIR: "-resource-dir" "/my/install/dir/../lib/clang +// CHECK-INSTALL-DIR: "-resource-dir" "/my/install/dir{{[\\/]+}}..{{[\\/]+}}lib{{[\\/]+}}clang{{[\\/]+.+}}" void foo(void) {}