#include <stdio.h>

struct bytes10
{
	~bytes10() { printf("dtor %p", this); }
	char _[10];
};

int main()
{
	size_t size1 = ((size_t*)new int[10])[-1];
	printf("%zu (0x%zx)\n", size1, size1);
	printf("%zu\n", ((size_t*)new bytes10[5])[-1]);
	printf("%zu\n", ((size_t*)new bytes10[6])[-1]);
	printf("%zu\n", ((size_t*)new bytes10[7])[-1]);
	printf("%zu\n", ((size_t*)new bytes10[65536])[-1]);
	return 0;
}