Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend24.C
blob: d312b3854ea9f256cbc83bf48be3b39a42ab5619 [
file
] [
log
] [
blame
]
// Build don't link:
template
<
class
T
>
struct
S
{
template
<
class
U
=
T
>
friend
class
S
;
void
f
(
T
);
};
template
struct
S
<int>
;
void
g
()
{
S
<>
s
;
s
.
f
(
3
);
}