Check whether an array and its derivative share the same pointer
Check whether an array and its derivative share the same pointer