repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wwrite-strings-9.C
blob
5db813b97ab2b42c26c5a3ccac600f4569ab22ee
1
// PR c++/79791
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wno-error=write-strings -pedantic-errors" }
4
5
char *s = "foo"; // { dg-warning "ISO C\\+\\+ forbids converting a string constant" }