summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp37.C
blob: 6299b0da76a27e82bcbf94e99b59daa45c80dac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// { dg-do assemble  }
// 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
};