Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction-access1.C
blob: 2424abb52ef6cf6e8601eefd3250a7229e970a99 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
template
<
typename
T
>
struct
Base
{
protected
:
using
type
=
T
;
};
template
<
typename
T
>
struct
Cont
:
Base
<
T
>
{
using
argument_type
=
typename
Base
<
T
>::
type
;
Cont
(
T
,
argument_type
)
{
}
};
Cont
c
(
1
,
1
);