Undefined behavior:
*
Invalid derived-to-base conversion for pointers to members