// { dg-do link } template class ConstArray { }; template void operator+(const ConstArray&, const ConstArray&) { } template void operator+(const ConstArray&, T2); template void operator+(T1, const ConstArray&); const ConstArray cai() { return ConstArray(); } const ConstArray cad() { return ConstArray(); } int main() { cai () + cad (); }