1// { dg-do link  }
2// GROUPS passed membertemplates
3struct S
4{
5  template <class T>
6  void foo(T t);
7};
8
9
10template <>
11void S::foo(int i)
12{
13}
14
15
16int main()
17{
18  S s;
19  s.foo(3);
20}
21