Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wwrite-strings-11.C
blob: 11ddcdbb23c02ff4a876af342ec1f602474c5cbd [
file
] [
log
] [
blame
]
// PR c++/79791
// { dg-do compile { target { ! c++11 } } }
// { dg-options "-pedantic-errors" }
char
*
s
=
"foo"
;
// { dg-warning "deprecated conversion from string constant" }