summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp1.C
blob: 5aa83dd4261f3a9b5720226ccdd4fa14efd7be5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }
// GROUPS passed templates membertemplates
struct S {
  template <class T>
  void foo(T&);
};


template <class T>
void S::foo(T&)
{
}