aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg4.C
blob: 2217954596b4a650f99190ffc1a0e90f61a0ddcf (plain)
1
2
3
4
5
6
7
8
// PR c++/54764
// { dg-require-effective-target c++11 }

template<class T = void>
struct c
{
  int (*f)(int) = [](int i){return i + i;};
};