Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
access39.C
blob: d941555577ec16d71643ab5aad5411449d4828e0 [
file
] [
log
] [
blame
]
// PR c++/101078
struct
A
{
static
void
f
();
};
template
<class>
struct
B
:
private
A
{
struct
C
{
void
g
()
{
f
();
}
void
g2
()
{
B
::
f
();
}
};
};
int
main
()
{
B
<int>
::
C
().
g
();
}