X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fctors11.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fctors11.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=195a8234560a652ac0af0615d29001aef9583e0d;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.law/ctors11.C b/gcc/testsuite/g++.old-deja/g++.law/ctors11.C deleted file mode 100644 index 195a8234..00000000 --- a/gcc/testsuite/g++.old-deja/g++.law/ctors11.C +++ /dev/null @@ -1,21 +0,0 @@ -// Build don't link: -// GROUPS passed constructors -// ctor file -// Message-Id: <9302081631.AA14744@tera.com> -// From: rrh@tera.com (Robert R. Henry) -// Date: Mon, 8 Feb 93 08:31:39 PST -extern "C" int printf (const char *, ...); -class A{ -public: - inline A(int x){printf("constructing A with %d\n", x);} -}; - -class B:public A{ // ERROR - non-default constructor -private: -public: -}; - -int main() -{ - B(10);// ERROR - B doesn't have a constructor taking int -}