Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
inherit7.C
blob: b3abc26b98c87cfd0229838a7b09edc0c0988a7d [
file
] [
log
] [
blame
]
// Origin: PR c++/48656
// { dg-do compile { target c++11 } }
struct
A
{
int
f
();
int
f
(
int
);
};
template
<typename>
struct
B
:
A
{
};
template
<
typename
T
>
struct
C
:
B
<
T
>
{
void
g
()
{
A
::
f
();
}
};