Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp39.C
blob: f74deb49dd17b650c04f27072251220add891d04 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed templates membertemplates
template
<
class
T
>
struct
S
{
template
<
class
U
>
void
f
(
U u
)
{
g
(
u
);
}
template
<
class
U
>
void
g
(
U u
)
{
f
(
u
);
}
};
void
foo
()
{
S
<int>
si
;
si
.
f
(
3
);
}