1 // { dg-options -std=c++17 } 2 3 int f()4 f () 5 { 6 if (int c = 5; 7 int c = 5) // { dg-error "redeclaration" } 8 return 5; 9 return 0; 10 } 11