X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fspec15.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fspec15.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=2e97b04626534f6c80f592f434e63d84c828e0e2;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec15.C b/gcc/testsuite/g++.old-deja/g++.pt/spec15.C deleted file mode 100644 index 2e97b046..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/spec15.C +++ /dev/null @@ -1,49 +0,0 @@ -extern "C" void abort(); - -template -struct S1 -{ - static void f(); -}; - -template <> -void S1::f() {} - -struct S2 -{ - template - static void g(T); -}; - -template <> -void S2::g(double) {} - -template <> -void S2::g(int) {} - -template -struct S3 -{ - template - static int h(U); -}; - -template <> -template <> -int S3::h(int) { return 0; } - -template <> -template <> -int S3::h(int) { return 1; } - -int main() -{ - S1::f(); - S2::g(3.0); - S2::g(7); - - if (S3::h(7) != 0) - abort(); - if (S3::h(7) != 1) - abort(); -}