Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/memtemp43.C

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