summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp44.C
blob: a4a37df919558128181d912021ad513591bd187f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// { dg-do link  }
// GROUPS passed templates membertemplates
template<class T>
class A
{
};

template<>
class A<float>
{
public:
    template<class U>
    void func(U v1) {}
};

int main()
{
  A<float> a;
  a.func(3);
}