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> ();
}