Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp46.C
blob: 6afbc6541f2235935890af5cf8d8752ee8697596 [
file
] [
log
] [
blame
]
// { dg-do link }
// GROUPS passed templates membertemplates
template
<
class
T
,
class
U
>
class
A
{
};
template
<
class
U
>
class
A
<
float
,
U
>
{
public
:
template
<
class
V
>
void
func
(
V v1
=
0
)
{}
};
int
main
()
{
A
<
float
,
int
>
a
;
a
.
func
(
"abc"
);
}