Debian Codegraph @

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

raw
1 // { dg-do compile { target c++17 } }
2
3 template <class T>
4 struct A
5 {
6 int i;
7 A(...);
8 };
9
10 template <class T>
11 A(T) -> A<T> { } // { dg-error "1:function body" }