Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}