blob: faa9f810c19b31a9911560f8ffd1298f33c52c5f [file] [log] [blame]
// PR c++/18177
void foo()
{
X; // { dg-error "" }
const_cast<int&>(X);
}