Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memclass15.C
blob: fd68256aa7953469c3731721b80d6777cdcc372b [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
T
>
struct
S1
{
template
<
class
U
>
struct
S2
{};
template
<
class
X
,
class
Y
,
class
Z
>
void
f
(
X
,
Y
,
Z
)
{
S2
<
Z
>
s2z
;
}
template
<
class
X
,
class
Z
>
void
g
(
X
,
Z
)
{
S2
<
Z
>
s2z
;
}
};
void
h
()
{
S1
<int>
si
;
si
.
g
(
3
,
4
);
}