Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/class-deduction7.C

raw
1 // { dg-do compile { target c++17 } }
2
3 template <class T>
4 struct A
5 {
6 int i;
7 };
8
9 template <class T>
10 A(T); // { dg-error "must have trailing return type" }