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