]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.law/ctors11.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / ctors11.C
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 (file)
index 195a823..0000000
+++ /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
-}