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