1// { dg-do link  }
2// GROUPS passed templates membertemplates
3template<class T, class U>
4class A
5{
6};
7
8template<class U>
9class A<float, U>
10{
11public:
12  template <class V>
13  void func(V v1 = 0) {}
14};
15
16int main()
17{
18  A<float, int> a;
19  a.func("abc");
20}
21