| Index: tests/standalone/vmservice/allocations_script.dart
|
| ===================================================================
|
| --- tests/standalone/vmservice/allocations_script.dart (revision 0)
|
| +++ tests/standalone/vmservice/allocations_script.dart (revision 0)
|
| @@ -0,0 +1,19 @@
|
| +// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +library allocations_script;
|
| +
|
| +import 'dart:io';
|
| +
|
| +class Foo {
|
| +}
|
| +List<Foo> foos;
|
| +
|
| +main() {
|
| + foos = [new Foo(), new Foo(), new Foo()];
|
| +
|
| + print(''); // Print blank line to signal that we are ready.
|
| + // Wait until signaled from spawning test.
|
| + stdin.first.then((_) => exit(0));
|
| +}
|
|
|