aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/spec22.C
blob: 88d55d38db6c1539acee1667e5c58de96c8f0646 (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> () 
{
}