(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
spec40.C
// { dg-options "-fpermissive -w" }

namespace N {
  template <typename T>
  struct S {
    void f() {}  // { dg-bogus "from definition" }
  };
}

namespace K {
  template <> void N::S<char>::f() {}
}