[clang] bad error message on incorrect string literal #18079 (PR #81670)

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 14 17:44:50 PST 2024


================
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -E -fsyntax-only -verify %s
+
+// expected-error at +2{{invalid character ')' character in raw string delimiter; use PREFIX( )PREFIX to delimit raw string}}
----------------
jroelofs wrote:

This has the old spelling of that diagnostic.

Also, might be a little nicer to combine the two tests in one file, since they're testing _almost_ the same thing.

https://github.com/llvm/llvm-project/pull/81670


More information about the cfe-commits mailing list