summaryrefslogtreecommitdiffstats
path: root/libstdc++/src/pure_virtual.cpp
blob: 663c1e99611927bd5af30f1f7a5e1c6fcaaf4366 (plain)
1
2
3
4
5
6
7
8
9
10

#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();
}