]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/gcc.dg/plugin/diagnostic-test-string-literals-1.c
Move string concatenation for C into the parser.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / plugin / diagnostic-test-string-literals-1.c
index 36324fda43c10fbce303655d8f7cf08b142e6d38..ac4fa1b52bd3cd30e2bdb071a2b59f64876e6860 100644 (file)
@@ -332,7 +332,8 @@ pr87652 (const char *stem, int counter)
                                OFFSET + end_idx);              \
   } while (0)
 
-/* { dg-error "unable to read substring location: failed to get ordinary maps" "" { target *-*-* } 329 } */
+/* { dg-error "unable to read substring location: unable to read source line" "" { target c } 329 } */
+/* { dg-error "unable to read substring location: failed to get ordinary maps" "" { target c++ } 329 } */
 /* { dg-begin-multiline-output "" }
      __emit_string_literal_range(__FILE__":%5d: " format, \
                                  ^~~~~~~~