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


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