Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
();
}