☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction-access2.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction-access2.C
code
plain
raw
1
// { dg-do compile { target c++17 } }
2
3
struct B {
4
protected:
5
struct type {};
6
};
7
template<typename T> struct D : B {
8
D(T, typename T::type);
9
};
10
D c = {B(), {}};