OSDN Git Service

2008-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp / string-2.C
index b947c73..137c3de 100644 (file)
@@ -1,7 +1,6 @@
-// Test diagnostics for interpreting strings: should be an error by
-// default.
+// Test diagnostics for interpreting strings: This is a pedwarn.
 // Origin: Joseph Myers <joseph@codesourcery.com>
 // { dg-do compile }
 // { dg-options "" }
 
-const char *s = "\q"; // { dg-error "error: unknown escape sequence" }
+const char *s = "\q"; // { dg-warning "warning: unknown escape sequence" }