Commit ce5bf41c by Joseph Myers Committed by Joseph Myers

* g++.dg/cpp/string-2.C: New test.

From-SVN: r107174
parent eda4ed47
2005-11-18 Joseph S. Myers <joseph@codesourcery.com>
* g++.dg/cpp/string-2.C: New test.
2005-11-18 Zdenek Dvorak <dvorakz@suse.cz>
* gcc.dg/tree-ssa/loop-14.c: New test.
// Test diagnostics for interpreting strings: should be an error by
// default.
// Origin: Joseph Myers <joseph@codesourcery.com>
// { dg-do compile }
// { dg-options "" }
const char *s = "\q"; // { dg-error "error: unknown escape sequence" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment