summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp43.C
blob: 41731711867f5f162f2d11aa872acc4ff9dd4550 (plain)
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;
}