aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/temp_default5.C
blob: dd84d260ea792c444905b829f0d6a5151f963df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do compile { target c++11 } }

template <class Z = void, class T>
void Foo(T)
{
  struct X {};
}

template <class T = int, typename U>
void f(const U&)
{
  auto g = [] () {};
}