(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.old-deja/
g++.pt/
spec22.C
// { dg-do assemble  }

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


template <class T> 
template <> // { dg-error "enclosing class templates|invalid explicit specialization" }
void S<T>::f<int> ()
{
}