2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / spec4.C
blobd7ef63c31308cb2553a863369343beba74548c11
1 // { dg-do assemble  }
3 template <class T>
4 struct S {};
6 template <>
7 struct S<int>
9   void f();
10   void g();
13 void S<int>::f() {}
15 template <>
16 void S<int>::g() {} // { dg-error "" } does not match any template declaration