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

int main()
{
   char* p = "Asgaard";
}