X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Foperator2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Foperator2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=477616086a2aa7ebf47069844fa42e1b02e11fda;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/operator2.C b/gcc/testsuite/g++.old-deja/g++.jason/operator2.C deleted file mode 100644 index 47761608..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/operator2.C +++ /dev/null @@ -1,14 +0,0 @@ -// PRMS Id: 6018 -// Build don't link: - -class string { - char *p; -public: - string(const char* s) ;// { p == s; } - operator const char*() ;// { return s; } -}; - -void f4(string& s) -{ - *s; // implies "s.operator const char*()" -}