blob: 4d2688157fcf4a2d079ac1dfc78bb0279cda1197 [file] [log] [blame]
// PR c++/84171
// { dg-options "-Wsign-compare" }
bool foo (char c)
{
const int i = 0 = 0; // { dg-error "lvalue" }
return c = i;
}