Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wwrite-strings-10.C
blobd34b0b065fd3643d6a586e7007071b743e4ba14b
1 // PR c++/79791
2 // { dg-do compile { target { ! c++11 } } }
3 // { dg-options "" }
5 char *s = "foo"; // { dg-warning "deprecated conversion from string constant" }