* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / class-deduction7.C
blobd635a642bfb9c822148ee843dbcbcb463d8ac90f
1 // { dg-options -std=c++17 }
3 template <class T>
4 struct A
6   int i;
7 };
9 template <class T>
10 A(T);                          // { dg-error "must have trailing return type" }