| Index: base/memory/scoped_ptr_unittest.cc
|
| diff --git a/base/memory/scoped_ptr_unittest.cc b/base/memory/scoped_ptr_unittest.cc
|
| index 3da6f15273181070fa51cc25107708def2fffa1f..6c5f3ac814ba9a68c0c446ebd3689ebddc714af6 100644
|
| --- a/base/memory/scoped_ptr_unittest.cc
|
| +++ b/base/memory/scoped_ptr_unittest.cc
|
| @@ -121,6 +121,15 @@ TEST(ScopedPtrTest, ScopedPtr) {
|
| EXPECT_EQ(0, constructed);
|
| }
|
|
|
| +TEST(ScopedPtrTest, ScopedPtrArray) {
|
| + int constructed = 0;
|
| +
|
| + {
|
| + scoped_ptr<int[]> scoper(new int[10]);
|
| + }
|
| + EXPECT_EQ(0, constructed);
|
| +}
|
| +
|
| TEST(ScopedPtrTest, ScopedPtrDepthSubtyping) {
|
| int constructed = 0;
|
|
|
|
|