(LIB2FUNCS): Add _pure.

From-SVN: r8333
This commit is contained in:
Jason Merrill 1994-10-21 19:14:08 +00:00
parent ea5df1fd4c
commit efc955c77f
1 changed files with 10 additions and 0 deletions

View File

@ -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