Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr70610-4.C
blob: 127abdc44e36f410b50ef309999e25a3c3372945 [
file
] [
log
] [
blame
]
// PR c++/70610
// { dg-do link }
struct
A
{
void
operator
+
(
const
A
&)
{
};
};
void
operator
+
(
const
A
&,
A
&);
template
<
typename
T
>
void
foo
()
{
A
()
+
A
();
}
int
main
()
{
foo
<int>
();
}