1 // { dg-do compile { target c++14 } } 2 main()3 int main() 4 { 5 auto f = []() { return 1; }; 6 7 auto q = [=](auto g) { 8 using type = decltype(g(f())); 9 }; 10 q([](int x){ return x; }); 11 } 12