spec25.C   [plain text]


namespace N {
  template <typename T>
  struct S {
    void f() {}
  };
}

namespace K {
  template <> void N::S<char>::f() {} // { dg-error "namespace|definition" }
}