Debian Codegraph @

gcc/testsuite/g++.dg/template/explicit8.C

raw
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 }