X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fptrmem2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fptrmem2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=85730952d0c92260372c76a370f00de63cb617f5;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/ptrmem2.C b/gcc/testsuite/g++.old-deja/g++.other/ptrmem2.C deleted file mode 100644 index 85730952..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/ptrmem2.C +++ /dev/null @@ -1,15 +0,0 @@ -class cow { -public: - void moo (char *); -}; - -void f() -{ - cow* c; - - void (cow::*fp0)(char*) = &cow::moo; // OK - void (cow::*fp1)(int) = &cow::moo; // ERROR - conversion - int (cow::*fp2)(char*) = &cow::moo; // ERROR - conversion - int (cow::*fp3)(char*, void*) = fp2; // ERROR - conversion - int (cow::*fp4)(double) = (int (cow::*)(double)) fp2; // OK -}