OSDN Git Service

PR c++/54858
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / explicit8.C
1 namespace N {
2   template <typename T>
3   struct S {
4     void f() {}
5   };
6   namespace I {
7     template void S<double>::f(); // { dg-error "namespace" }
8   }
9 }
10
11 namespace K {
12   template void N::S<int>::f(); // { dg-error "namespace" }
13 }