Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/class-deduction-access2.C

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(), {}};