aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.brendan/crash65.C
blob: 1bf6c4b6b46a79c248696ba4c03cfc5898f79524 (plain)
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.*
};