blob: 3368a5e5d89259ca00c6c172e75f86f3de009c7f [file] [log] [blame]
// PR c++/70610
// { dg-do link }
struct A { };
void operator+ (const A &, A &);
void operator+ (A &, const A &);
void operator+ (const A &, const A &) { }
template <typename T>
void
foo ()
{
A () + A ();
}
int
main ()
{
foo<int> ();
}