Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend17.C
blob: 50d6024415067a181ab0a61ef9d6a38ac56d4be8 [
file
] [
log
] [
blame
]
template
<
class
T
>
struct
X
{
template
<
class
U
>
void
operator
+=(
U
);
template
<
class
V
>
template
<
class
U
>
friend
void
X
<
V
>::
operator
+=(
U
);
};
int
main
()
{
X
<int>
()
+=
1.0
;
}