aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested4.C
blob: 140ed30e4fb148812c46d2b560ce89b4e936fd72 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/47687
// { dg-do compile { target c++11 } }

template <class T> struct A { };

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

A<inlt> a;