aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/warn/Wcast-qual2.C
blob: 23dbb4d39b0f4ed2ac88b5771dd51f68d3fdddc3 (plain)
1
2
3
4
// PR c++/50956
// { dg-options "-Wcast-qual" }

void* p = (void*)"txt"; // { dg-warning "cast" }