// { dg-do compile }
// Test the default for -Wwrite-strings

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


syntax highlighted by Code2HTML, v. 0.9.1