bionic/libstdc++/src/pure_virtual.cpp
2009-03-03 19:28:35 -08:00

11 lines
204 B
C++

#include <stdio.h>
#include <stdlib.h>
extern "C" void __cxa_pure_virtual()
{
fprintf(stderr, "Pure virtual function called. Are you calling virtual methods from a destructor?\n");
abort();
}