Debian Codegraph @

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

raw
1 // PR c++/79501
2 // { dg-do compile { target c++17 } }
3
4 template<class T>
5 struct A {
6 template<class U> struct B { template<class V> B(V); };
7 B(T) -> B<T>;
8 };
9
10 A<int>::B b(0);