X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fsibcall2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fsibcall2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0248574b52177ba12c31ddc6e60b29a432c02a5e;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/sibcall2.C b/gcc/testsuite/g++.old-deja/g++.other/sibcall2.C deleted file mode 100644 index 0248574b..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/sibcall2.C +++ /dev/null @@ -1,19 +0,0 @@ -// Build don't link: -// Special g++ Options: -O2 -foptimize-sibling-calls -fno-exceptions - -struct X -{ - const char *c() const { return b; }; - char *b; -}; -extern "C" int f (const char *); -struct A -{ - X x; - void y(); -}; -void A::y() -{ - const char *const a[] = { x.c() }; - f (a[0]); -}