Debian Codegraph @

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

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 };