/cp
[official-gcc.git] / gcc / testsuite / g++.dg / template / spec40.C
blob4e29944514f5636a14a4dbc5b94853ddb81dffe1
1 // { dg-options "-fpermissive -w" }
3 namespace N {
4   template <typename T>
5   struct S {
6     void f() {}  // { dg-bogus "from definition" }
7   };
10 namespace K {
11   template <> void N::S<char>::f() {}