Debian Codegraph @

gcc/testsuite/g++.dg/cpp/string-2.C

raw
1 // Test diagnostics for interpreting strings: This is a pedwarn.
2 // Origin: Joseph Myers <[email protected]>
3 // { dg-do compile }
4 // { dg-options "" }
5
6 const char *s = "\q"; // { dg-warning "unknown escape sequence" }