const1.C   [plain text]


// PR c++/14211

void f(char *str) {
  char *& m = const_cast<char *>(str); // { dg-error "" }
}