blob: affb80fcc85db4a512752a63203bce16626d3a0c [file] [log] [blame]
#undef NDEBUG
#include <assert.h>
extern "C" void __cxa_pure_virtual() {
// We can't call __libc_android_log_write from libstdc++ because it's private, so cheat.
assert(!"Pure virtual function called. Are you calling virtual methods from a destructor?");
/* NOTREACHED */
}