c++: constrained lambda error-recovery [PR108972]
[official-gcc.git] / gcc / testsuite / g++.dg / pr107411.C
blob7eefecae4f3a05c2f6985c895bc38a0591cc0823
1 /* { dg-do compile } */
2 /* { dg-options "-Werror=uninitialized -ftrivial-auto-var-init=zero"  } */
3 int t();
4 void f(int);
6 void j()
8   const int& e = t();
9   f(e);