X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fdefarg9.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fdefarg9.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=f3b0a48c361832a655f1c0ad01b324e85c503bfd;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/defarg9.C b/gcc/testsuite/g++.old-deja/g++.other/defarg9.C deleted file mode 100644 index f3b0a48c..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/defarg9.C +++ /dev/null @@ -1,52 +0,0 @@ -// Build don't link: -// -// Copyright (C) 2001 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 24 April 2001 - -// Bug 2608. A default parameter introduced in the definition of a -// ctor never made it into the clones, leading to later overload -// resolution failures. This is related to bug 2356. - -struct A -{ - A (int, int); -}; - -A::A (int d, int = 0) -{ - if (d) - { - A a (0); - } -} - -void get_width () -{ - A a (1); -} - -struct B : A -{ - B (); -}; -B::B () - :A (1) -{ -} - -struct C : virtual A -{ - C (int, int); -}; -C::C (int, int = 0) - :A (1) -{ -} -struct D: C -{ - D (); -}; -D::D () - :A (0), C (0) -{ -}