1// PR c++/14211 2 3void f(char *str) { 4 char *& m = const_cast<char *>(str); // { dg-error "" } 5} 6