lambda-nested4.C 153 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
// PR c++/47687
// { dg-options -std=c++0x }

template <class T> struct A { };

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

A<inlt> a;