X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ns%2Ftemplate6.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ns%2Ftemplate6.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=324b4d22a5970d3d58b2cf92c44ffe0b4db02ce7;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.ns/template6.C b/gcc/testsuite/g++.old-deja/g++.ns/template6.C deleted file mode 100644 index 324b4d22..00000000 --- a/gcc/testsuite/g++.old-deja/g++.ns/template6.C +++ /dev/null @@ -1,24 +0,0 @@ -//Build don't link: -//reported by Theodore Papadopoulo (Theodore.Papadopoulo@sophia.inria.fr) - -namespace A { - - namespace B { - - template - struct B { - static const unsigned count = 0; - template - void SetError(ForwardIter it,const T1& p1,const T2& p2) const { } - }; - - template <> - const unsigned B::count = 2; // ERROR - duplicate init - } -}; - -int -main() -{ - unsigned kk = A::B::count; // ERROR - not a template: syntax error -}