Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
inherit.C
blob: 43af3cfc5ac622a8ee3a22ddd6b8342edb11a74a [
file
] [
log
] [
blame
]
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
// { dg-do compile }
template
<
typename
T
>
struct
X
{
void
f
()
{
}
};
struct
Z
:
X
<int>
{
};
int
main
()
{
Z z
;
z
.
X
::
f
();
}