aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction11.C
blob: 301ba9acffafacc3f2f7114fe0aa09c639f4628b (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options -std=c++17 }

template <class T>
struct A
{
  int i;
  A(...);
};

template <class T>
static A(T) -> A<T>;		// { dg-error "1:decl-specifier" }