X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplicit57.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplicit57.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=d1f0ea870dc10af0687c4d17dafb13459cd6a4ab;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit57.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit57.C deleted file mode 100644 index d1f0ea87..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/explicit57.C +++ /dev/null @@ -1,42 +0,0 @@ -extern "C" void abort (); - -int a = 0; - -template void f (); -template void g () -{ - if (a) - abort (); -} - -template <> void g () -{ -} - -template class C -{ - public: - void ff () { f (); } - void gg () { g (); } -}; - -template void f () -{ - if (a) - abort (); -} - -template <> void f () -{ -} - -int main () -{ - C c; - c.ff(); - c.gg(); - a = 1; - C d; - d.ff(); - d.gg(); -}