OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp45.C
1 // { dg-do link  }
2 // GROUPS passed templates membertemplates
3 template<class T>
4 class A
5 {
6 };
7
8 template<>
9 class A<float>
10 {
11 public:
12     template<class U>
13     void func(U v1 = 0) {}
14 };
15
16 int main()
17 {
18   A<float> a;
19   a.func(3);
20 }