aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction61.C
blob: 9ef095e2af0f34830c98f4812ff1021a1bc24f53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/81486
// { dg-do compile { target c++17 } }

template <typename... Ts>
struct foo
{
  template <typename... Us>
  foo(Us...) { }
};

int
main ()
{
  auto f = foo();
}