2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / class-deduction11.C
blob2a7594918e5a42368c56e56619623e6603e9edf8
1 // { dg-do compile { target c++17 } }
3 template <class T>
4 struct A
6   int i;
7   A(...);
8 };
10 template <class T>
11 static A(T) -> A<T>;            // { dg-error "1:decl-specifier" }