aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template7.C
blob: 5b098d0df33215689c270deface026d5a3ba3c45 (plain)
1
2
3
4
5
// PR c++/53783
// { dg-do compile { target c++11 } }

template <class T> void foo() { [] { [] {}; }; }
int main() { foo<void>(); }