X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fother%2Fgc1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fother%2Fgc1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=3c7a16998d183fde9e7c3202202f901da2f648d3;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/other/gc1.C b/gcc/testsuite/g++.dg/other/gc1.C deleted file mode 100644 index 3c7a1699..00000000 --- a/gcc/testsuite/g++.dg/other/gc1.C +++ /dev/null @@ -1,49 +0,0 @@ -// This test failed with GGC_ALWAYS_COLLECT because not all unparsed -// inline methods were registered with GC. -// { dg-do compile } - -const char *foo () -{ - struct A - { - const char *a1 () - { - return "a1"; - } - const char *a2 () - { - struct B - { - const char *b1 () - { - return "b1"; - } - const char *b2 () - { - struct C - { - const char *c1 () - { - return "c1"; - } - const char *c2 () - { - return "c2"; - } - }; - return "b2"; - } - const char *b3 () - { - return "b3"; - } - }; - return "a2"; - } - const char *a3 () - { - return "a3"; - } - }; - return "foo"; -}