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
/
write-strings.C
blob
1293e859156ba15812a2090c00fed78d5c2225c8
1
// { dg-do compile }
2
// { dg-options -Wwrite-strings }
3
4
int main()
5
{
6
char* p = "Asgaard"; // { dg-warning "deprecated|forbids converting a string constant" }
7
}