2 // GROUPS passed conversions
4 class GctObject: virtual public GttObject {};
5 class NDAMObject: virtual public GttObject, virtual public GctObject {};
6 class GctHashObject: virtual public GctObject {};
8 class GctRef: virtual public GctHashObject
9 { public: operator void*() const; };
11 class NDAMAssemblerObject: virtual public NDAMObject {};
12 class GctReferenceObject: virtual public GctHashObject {};
13 class NDAMValue: virtual public NDAMAssemblerObject, public GctReferenceObject {};
16 class NDAMValueRef : virtual public NDAMObject, public GctRef
18 NDAMValue *operator->() const;
19 operator NDAMValue *() const;
24 class NDAMValueRefSLList
28 NDAMValueRefSLList(const NDAMValueRefSLList& a);
29 ~NDAMValueRefSLList();
30 NDAMValueRef& operator () (Pix p) const;
35 NDAMValueRefSLList *valueList;
41 static void assign(void*& lval, void*& rval); // { dg-message "nnyacc::assign|no known conversion" }
45 foo (bar yylval, bar *yyvsp)
47 nnyacc::assign(yylval.valueList, yyvsp[0].valueList);// { dg-error "no matching|rvalue" }