aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/lvalue.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/lvalue.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/lvalue.C22
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/lvalue.C b/gcc/testsuite/g++.old-deja/g++.jason/lvalue.C
deleted file mode 100644
index c85e6fe5f28..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/lvalue.C
+++ /dev/null
@@ -1,22 +0,0 @@
-// Bug: Scoped method calls don't propagate the constness of `this'.
-// PRMS Id: 4181 (second testcase)
-// Build don't link:
-
-class D;
-
-class Bptr
-{
-public:
- Bptr& operator=(D*);
- const Bptr& operator=(const D*) const;
-};
-
-class Dptr : public Bptr
-{
-public:
- const Dptr& operator=(const D* rep) const
- {
- Bptr::operator=(rep);
- return *this;
- }
-};