blob: 9b613e706316aa609c25a8ec5a34fcda50a50261 [file] [log] [blame]
// { dg-do compile { target c++17 } }
int
f ()
{
if (int c = 5;
int c = 5) // { dg-error "redeclaration" }
return 5;
return 0;
}