repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
write-strings-default.C
blob
234c473801bbd6ad8ce8e6c9b001ea9d34f649ca
1
// { dg-do compile }
2
// Test the default for -Wwrite-strings
3
4
int main()
5
{
6
char* p = "Asgaard"; // { dg-warning "warning:.*deprecated.*" }
7
}