| Index: tools/clang/rewrite_scoped_array/tests/test-expected.cc
|
| diff --git a/tools/clang/rewrite_scoped_array/tests/test-expected.cc b/tools/clang/rewrite_scoped_array/tests/test-expected.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..62c66ef1efca1d033e91200f7100863eb330b0d1
|
| --- /dev/null
|
| +++ b/tools/clang/rewrite_scoped_array/tests/test-expected.cc
|
| @@ -0,0 +1,21 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +template <class T> class scoped_array {
|
| + private:
|
| + T* data_;
|
| +};
|
| +
|
| +class TestClass {
|
| + private:
|
| + scoped_ptr<int[]> test_field_;
|
| +};
|
| +
|
| +scoped_ptr<int[]> TestFunction(scoped_ptr<int[]> x, scoped_ptr<int[]>) {
|
| + scoped_ptr<scoped_array<int>(scoped_array<int> test, scoped_array<int>)[]> y;
|
| + scoped_ptr<int[]>(*function_pointer)(scoped_ptr<int[]> test,
|
| + scoped_ptr<int[]>);
|
| + scoped_ptr<int[]> test_variable;
|
| +}
|
| +
|
|
|