// PR c++/47687 // { dg-do compile { target c++11 } } template struct A { }; auto inl = []{ return []{}; }(); typedef decltype(inl) inlt; A a;