summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/spec25.C
blob: d6f0f08e28048141c5564f43002e1c55aaeddcbb (plain)
1
2
3
4
5
6
7
8
9
10
namespace N {
  template <typename T>
  struct S {
    void f() {}
  };
}

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