aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/opeq6.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/opeq6.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/opeq6.C24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/opeq6.C b/gcc/testsuite/g++.old-deja/g++.jason/opeq6.C
deleted file mode 100644
index 62be499c56d..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/opeq6.C
+++ /dev/null
@@ -1,24 +0,0 @@
-// Testcase for wrongful generation of operator =.
-// Build don't link:
-
-class ivResource {
-public:
- ivResource ();
-private:
- ivResource & operator =(const ivResource &);
-};
-
-class ivButtonState : virtual public ivResource {
-public:
- void operator=(ivButtonState &);
-};
-
-class ivPrintBS : public ivButtonState {
-};
-
-void f ()
-{
- ivPrintBS a, b;
- a = b;
-}
-