☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction98.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction98.C
code
plain
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);