Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction-access2.C
blob: 87f20311e09f16ca7acb11a7715f7ac3141b7096 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
struct
B
{
protected
:
struct
type
{};
};
template
<
typename
T
>
struct
D
:
B
{
D
(
T
,
typename
T
::
type
);
};
D c
=
{
B
(),
{}};