// PR c++/64877 // { dg-options "-Waddress" } template struct S { void m() { } S() { if (&S::Unwrap != &Derived::Unwrap) m(); } void Unwrap() { } }; struct T : public S { }; T t;