Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit36.C
blob: 4a4f636683b7fa6eef950c90070a6ab9b619648b [
file
] [
log
] [
blame
]
// { dg-do link }
// GROUPS passed templates
template
<
class
T
>
void
foo
(
T
);
class
S
{
friend
void
foo
<>(
int
);
int
i
;
};
template
<>
void
foo
(
int
)
{
S s
;
s
.
i
=
3
;
}
int
main
()
{
foo
(
3
);
}