summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/spec22.C
blob: e170b6e3476c032e992e09306348cfa302fd65de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Build don't link:

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


template <class T> 
template <> // ERROR - enclosing classes not specialized
void S<T>::f<int> () 
{ // ERROR - template does not match any declaration
}