2 // GROUPS passed old-abort
3 // Should have been fixed by:
5 // Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
7 // * cp-cvt.c (build_default_binary_type_conversion): Look deeper into
8 // what ARG1 and ARG2 are if they're POINTER_TYPEs.
13 virtual ~CountableSet() { }
17 class FixedSet : virtual public CountableSet
20 virtual int Get(int, T&) = 0;
21 virtual ~FixedSet() { }
27 virtual int Remove(int) = 0;
31 class PVSet : virtual public FixedSet<T>, virtual public ShrinkableSet
34 virtual void Append(const T&) = 0;
35 virtual void operator+=(const T& a) { Append(a); }
40 class MutSet : virtual public FixedSet<T>, virtual public FixedSet<T *>
46 void Append(const Tp& tp) { Append(*tp); }
58 class SimpleSet : virtual public MutSet<T>
64 virtual void Allocate(int s)
79 int Get(int p, T *& t)
84 inline void Append(const T& a)
88 inline int Remove(int n) { return 0; }
100 SimpleSet<Dummy *> bs1;
104 bs1+=&foo;// { dg-error "" } no .*