4 // This tests for an ambiguous conversion of the this pointer (going
5 // down to DECL_CONTEXT of a FUNCTION_DECL.
10 virtual const ccObjectInfo& repInvariant (int);
14 class ccHandle : public ccObjectInfo
19 virtual const ccObjectInfo& repInvariant (int);
23 const ccObjectInfo& ccHandle<T>::repInvariant (int)
24 { return p->repInvariant(1); }
26 class ccHandleBase : public ccObjectInfo
29 class cc_CircleHdl : public virtual ccHandleBase, public ccObjectInfo // { dg-warning "" }
32 virtual const ccObjectInfo& repInvariant (int);
35 class ccCircleHdl : public ccHandle <cc_CircleHdl> {};