Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / cpp / string-1.C
blobda3133071d73fdc9aaf9a52d1ae085241c7b773f
1 // Test location of diagnostics for interpreting strings.  Bug 17964.
2 // Origin: Joseph Myers <joseph@codesourcery.com>
3 // { dg-do compile }
5 const char *s = "\q"; // { dg-error "unknown escape sequence" }
7 const char *t = "\      "; // { dg-error "unknown escape sequence" }
9 const char *u = "";