blob: 4be458cca59a284b45618a4aa5c717a5f8e2cade [file] [log] [blame]
// PR c++/70610
// { dg-do link }
void bar (const int &, int &);
void bar (int &, const int &);
void bar (const int &, const int &) { }
int a, b;
template <typename T>
void
foo ()
{
bar (a + 1, b + 2);
}
int
main ()
{
foo<int> ();
}