X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Fsorry1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Fsorry1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=caa9276f8a8d735adf1f4cebc3c1d7c16143a697;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C b/gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C deleted file mode 100644 index caa9276f..00000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C +++ /dev/null @@ -1,36 +0,0 @@ -// Build don't link: -// GROUPS passed old-sorry -class a { -public: - int* foo(); -}; - -a aa; -a* ap; - -class b { -public: - int ok(int* p =aa.foo()); - - // dump_init should know what to do with this NON_LVALUE_EXPR - int f(int* p =ap->foo()); -}; - - int -b::ok(int *p) -{ - return 0; -} - - int -b::f(int *p) -{ - return 0; -} - void -bar() -{ - b b; - b.ok(); - b.f(); -}