From 3923dd4484b8a46295b1ce0711e9bcb35cc19c09 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Fri, 27 Jun 2025 22:23:51 -0400 Subject: [PATCH] Fix uncaught-exception.test. (#146190) See https://github.com/llvm/llvm-project/pull/125924 To match a literal plus sign, it must be escaped with a backslash (`\`). --- compiler-rt/test/fuzzer/uncaught-exception.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/fuzzer/uncaught-exception.test b/compiler-rt/test/fuzzer/uncaught-exception.test index 984001056f1d..264bb5dc3a91 100644 --- a/compiler-rt/test/fuzzer/uncaught-exception.test +++ b/compiler-rt/test/fuzzer/uncaught-exception.test @@ -8,4 +8,4 @@ RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException # For example, msvc fails with 'uncaught C++ exception'. So the error we check depends on the compiler target. RUN: not %run %t-UncaughtException 2>&1 | FileCheck %s -CHECK: ERROR: libFuzzer: {{deadly signal|uncaught C++ exception}} +CHECK: ERROR: libFuzzer: {{deadly signal|uncaught C\+\+ exception}}