summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp61.C
blob: 2e65e817b1de81d7d086151e785ce91c247ded66 (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 membertemplates
struct S
{
  template <class T>
  void foo(T t);
};


template <>
void S::foo(int i)
{
}


int main()
{
  S s;
  s.foo(3);
}