Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.pt / spec22.C
blob41aab394d3eecd05ae05777589b1bf34bf6e2d69
1 // { dg-do assemble  }
3 template <class T>
4 struct S
6   template <class U>
7   void f();
8 };
11 template <class T> 
12 template <> // { dg-error "enclosing class templates|invalid explicit specialization" }
13 void S<T>::f<int> ()  // { dg-error "does not match|invalid function declaration" }