X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb118.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb118.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=b191ac11717187276365811a00975a19b1d4406a;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb118.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb118.C deleted file mode 100644 index b191ac11..00000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb118.C +++ /dev/null @@ -1,38 +0,0 @@ -// Test for obsolete specialization syntax. Turn off -pedantic. -// Special g++ Options: - -#include -#include - -template -class A { -public: - void test (); -}; - -template -void -A::test(){ - std::cerr << "test for " << typeid(*this).name() << std::endl; -} -// Specialization declaration -void -A::test(); - -// Specialization definition -void -A::test(){ - std::cerr << "specialization for " << typeid(*this).name() << std::endl; -} - - -int -main(){ - A ai; - A ad; - ai.test(); - ad.test(); - return 0; -} - -