1 2 3 4 5 6 7 8 9 10 11 12 13 14
// { dg-do assemble } // GROUPS passed old-abort class X { public: virtual const char* XY(const void* val) const = 0; }; class Y : public X { public: using X::xy;// { dg-error "" } no memb.* using X::z;// { dg-error "" } no memb.* };