1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// { dg-do link } // GROUPS passed templates membertemplates template<class T, int N> class A { public: template<class U> void operator=(A<U, N> const & a) { return; } }; int main() { A<float, 3> a; A<double, 3> b; a = b; }