aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp37.C
blob: 186083b80095879e705024d3a916cde20f96f458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Build don't link:
// GROUPS passed templates membertemplates
template <class T>
struct S
{
  template <class U>
  void f(U u);
};


template <class T>
template <class U>
void S<T>::f(U)
{
}

enum 
{
  a = 3
};