]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/p5718.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p5718.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p5718.C b/gcc/testsuite/g++.old-deja/g++.mike/p5718.C
deleted file mode 100644 (file)
index 8858d38..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// prms-id: 5718
-
-class Base {
-  int i;
-public:
-  Base() { i = 42; };
-};
-
-
-class Mixin {
-  int j;
-public:
-  Mixin() { j = 42; }
-};
-
-
-class Derived : public Base, public Mixin {
-public:
-  Derived() { };
-  Derived & operator=(Mixin & m) { return *this; };
-};
-
-
-void
-testFunct(Derived * arg) {
-  Mixin temp;
-
-  (Mixin &)(*arg) = temp;              // gets bogus error 
-}
-
-
-int
-main(int argc, char *argv[]) {
-  Derived temp;
-
-  testFunct(&temp);
-}