(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
lambda/
lambda-nested4.C
// PR c++/47687
// { dg-do compile { target c++11 } }

template <class T> struct A { };

auto inl = []{ return []{}; }();
typedef decltype(inl) inlt;

A<inlt> a;