Add very basic allocation copying test for C++.

Change-Id: I1426545958f66e8677dcda40a74f5736c616317b
3 files changed