diff --git a/clang/test/CodeGenCXX/debug-info-hotpatch.cpp b/clang/test/CodeGenCXX/debug-info-hotpatch.cpp index fde1a6ad085ea0..e005c9c5ee4899 100644 --- a/clang/test/CodeGenCXX/debug-info-hotpatch.cpp +++ b/clang/test/CodeGenCXX/debug-info-hotpatch.cpp @@ -12,7 +12,7 @@ // RUN: %clang_cl --target=x86_64-windows-msvc /hotpatch -### -- %s 2>&1 \ // RUN: | FileCheck %s --check-prefix=FUNCTIONPADMIN // FUNCTIONPADMIN: clang{{.*}} -// FUNCTIONPADMIN: {{link.*"}} +// FUNCTIONPADMIN: {{link[^"]*"}} // FUNCTIONPADMIN: -functionpadmin int main() {