[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 11:16:27 PST 2024


================
@@ -0,0 +1,5 @@
+// RUN: not  %clang_cc1 -E %s 2>&1 | grep 'error: invalid newline character in raw string delimiter; use PREFIX( )PREFIX to delimit raw string'
----------------
jroelofs wrote:

mind also adding a test for the `err_invalid_char_raw_delim` case while you're here?

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


More information about the cfe-commits mailing list