1 // PR c++/79791
2 // { dg-do compile { target { ! c++11 } } }
3 // { dg-options "-pedantic-errors" }
4 
5 char *s = "foo"; // { dg-warning "deprecated conversion from string constant" }
6