blob: 00352306a56e93ca917c3f4298f5e157a6b7a234 [file] [log] [blame]
// PR c++/84138
char
foo()
{
const int i = 0 = 0; // { dg-error "lvalue required as left operand" }
return 1 ? 0 : (char)i;
}