c++, coroutines: Simplify separation of the user function body and ramp.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / lambda-generic-nested3.C
blob27655274a872c840535deac75bd24371f2a13bb2
1 // PR c++/113544
2 // { dg-do compile { target c++14 } }
4 template<class T>
5 void f() {
6   [](auto parm) {
7     struct type : decltype(parm) { };
8   };
11 template void f<int>();