☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction82.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction82.C
code
plain
raw
1
// PR c++/99009
2
// { dg-do compile { target c++17 } }
3
4
template<typename> struct B {
5
B(int = A()) {}
6
template <typename ...> struct A;
7
};
8
9
template<typename T> struct X {
10
template <T...> struct Y;
11
X() { Y y; };
12
};