3 // Copyright (C) 2002 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 15 Sep 2002 <nathan@codesourcery.com>
6 // PR 7919. Methods found via using decls didn't have their this
7 // pointers converted to the final base type.
12 void *Return () { return this; }
15 struct Derived : Base {
17 virtual ~Derived () {}
24 return static_cast <Base *> (&d) != d.Return ();