[libcxx] [NFC] Add more reinterpret_pointer_cast tests.
authorzoecarver <z.zoelec2@gmail.com>
Thu, 14 May 2020 19:01:55 +0000 (12:01 -0700)
committerzoecarver <z.zoelec2@gmail.com>
Thu, 14 May 2020 19:04:05 +0000 (12:04 -0700)
commit8f2cc889b0517c4ad748de1a96f13489e89968a5
tree310a17980406186984e917544bc1b2aa95492857
parent77346daaa54e81233dcf8ff7158a5cde4b2c35ee
[libcxx] [NFC] Add more reinterpret_pointer_cast tests.

 * Add test for inheritance.
 * Test value is preserved through cast.
libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/reinterpret_pointer_cast.pass.cpp