aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction10.C
blob: eb0b15ee14977f7105bee38eb14bb9177cd33f8a (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile { target c++17 } }

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

template <class T>
A(T) -> A<T> { }		// { dg-error "1:function body" }