Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
inherit3.C
blob: 97b9e5b3eaac91899ddd0f8b0d2aa51519005458 [
file
] [
log
] [
blame
]
template
<
typename
T
>
struct
set
{
void
insert
(
const
T
&);
template
<
class
X
>
void
insert
(
X
,
X
);
};
struct
C
:
public
set
<int>
{
void
f
(
const
int
i
)
{
insert
(
i
);
}
};