summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp2.C
blob: 5c870fe528dfa9653505d1fbaf2be5e6ef6d98f2 (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 U>
void S::foo(U&)
{
}