Debian Codegraph @

gcc/testsuite/g++.dg/cpp23/class-deduction-inherited10.C

raw
1 // PR c++/122070
2 // { dg-do compile { target c++23 } }
3
4 template<class T> struct A { A(T) {}; };
5
6 using B = A<int>;
7
8 template<class T=void>
9 struct C : B { using B::B; };
10
11 C c = 0;