summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/write-strings.C
blob: 73c814909835254e280cd080a879c0480519ee15 (plain)
1
2
3
4
5
6
7
// { dg-do compile }
// { dg-options -Wwrite-strings }

int main()
{
   char* p = "Asgaard";         // { dg-warning "deprecated" }
}