Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: tools/clang/rewrite_scoped_array/tests/test-original.cc

Issue 448693003: Fix bitrot in Chrome clang tool infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 template <class T> class scoped_array {
6 private:
7 T* data_;
8 };
9
10 class TestClass {
11 private:
12 scoped_array<int> test_field_;
13 };
14
15 scoped_array<int> TestFunction(scoped_array<int> x, scoped_array<int>) {
16 scoped_array<scoped_array<int>(scoped_array<int> test, scoped_array<int>)> y;
17 scoped_array<int>(*function_pointer)(scoped_array<int> test,
18 scoped_array<int>);
19 scoped_array<int> test_variable;
20 }
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698