fortran/openmp.cc: Fix var init and locus use to avoid uninit values [PR fortran...
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / lambda-generic-local-class2.C
blob83856de1f41d3a31449bb7f66becf32e927837d6
1 // PR c++/109241
2 // { dg-do compile { target c++14 } }
3 // { dg-options "" } no pedantic
5 void g() {
6   [](auto) {
7     [](auto) {
8       ({
9         struct A {};
10       });
11     };
12   }(1);