blob: f2254b7a946449fbc4cbef375dc931295e91de91 [file] [log] [blame]
// { dg-do run { xfail powerpc-*-aix* } }
// It checks to see if you can define your own global delete operator.
// prms-id: 755
extern "C" void _exit(int);
void operator delete(void *p) throw() {
_exit(0);
}
int main () {
int* i = new int;
delete i;
return 1;
}