2 // This used to abort due to overlapping stack temporaries.
7 extern "C" void abort (void);
13 pointer(void* x = 0) : ptr(x) {}
14 pointer(const pointer& x) : ptr(x.ptr) {}
21 element() : canary(123) { }
22 ~element() { pointer(); if (canary != 123) abort (); }
26 insert(const element& x)
28 return pointer(new element(x));