Commit efc955c7 by Jason Merrill

(LIB2FUNCS): Add _pure.

From-SVN: r8333
parent ea5df1fd
......@@ -2287,3 +2287,13 @@ __register_exceptions (exception_table *table)
exception_table_list = node;
}
#endif /* L_eh */
#ifdef L_pure
#define MESSAGE "pure virtual method called\n"
void
__pure_virtual ()
{
write (2, MESSAGE, sizeof (MESSAGE) - 1);
_exit (-1);
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment