Fix last commit.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / init-statement8.C
blobfb40df0e5b46e5ed6f02692a252de7092ea1ac8b
1 // { dg-options -std=c++1z }
3 int
4 f ()
6   if (int c = 5;
7       int c = 5) // { dg-error "redeclaration" }
8     return 5;
9   return 0;