blob: 3126d332de1f83f789d1c27dbd5530d14a52a21f [file] [log] [blame]
// PR c++/52596
struct msgpack_zone_finalizer_array {
int* tail;
};
struct msgpack_zone {
msgpack_zone_finalizer_array finalizer_array;
};
struct zone : public msgpack_zone {
template <typename T> T* allocate();
};
template <typename T>
T* zone::allocate()
{
--msgpack_zone::finalizer_array.tail;
}