// PR c++/14211 void f(char *str) { char *& m = const_cast(str); // { dg-error "" } }