Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memclass1.C
blob: e1d748a3ce17b574f8c85577f70792bdfc16c578 [
file
] [
log
] [
blame
]
// { dg-do run }
template
<
class
T
>
struct
A
{
template
<
class
U
>
struct
B
{
template
<
class
V
>
void
f
(
V
)
{
}
void
g
()
{
}
};
};
int
main
()
{
A
<int>
::
B
<char>
b
;
b
.
f
(
42
);
b
.
g
();
}