aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/offset3.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/offset3.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/offset3.C22
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/offset3.C b/gcc/testsuite/g++.old-deja/g++.jason/offset3.C
deleted file mode 100644
index d980ba1fcd0..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/offset3.C
+++ /dev/null
@@ -1,22 +0,0 @@
-// PRMS Id: 5070 (bug 2)
-// Build don't link:
-
-struct A {
- void f ();
-};
-
-struct Ptr {
- A* operator->();
-};
-
-struct B {
- Ptr p;
-};
-
-struct C: public B {
- void g ();
-};
-
-void C::g() {
- B::p->f(); // gets bogus error
-}