summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp62.C
blob: d25ddfa9ae58920b999a12bec82ed3d1ed3b7c00 (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>(int i)
{
}


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