* class.c (instantiate_type): Return error_mark_node rather than
junk.
From-SVN: r24240
+1998-12-10 Mark Mitchell <mark@markmitchell.com>
+
+ * class.c (instantiate_type): Return error_mark_node rather than
+ junk.
+
1998-12-09 Mark Mitchell <mark@markmitchell.com>
* cp-tree.h (most_specialized_instantiation): New function.
function);
cp_error (" to form a pointer to member function, say `&%T::%D'",
t, DECL_NAME (function));
+ return error_mark_node;
}
mark_used (function);
void bar( double );
void bar( float );
- void foo( void (a::*member)(float) );
+ void foo( void (a::*member)(float) ); // ERROR - candidate
};
a::a()