hppa: Add peephole2 optimizations for REG+D loads and stores
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / init-statement8.C
blob9b613e706316aa609c25a8ec5a34fcda50a50261
1 // { dg-do compile { target c++17 } }
3 int
4 f ()
6   if (int c = 5;
7       int c = 5) // { dg-error "redeclaration" }
8     return 5;
9   return 0;