Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 library allocations_script; | |
| 6 | |
| 7 import 'dart:io'; | |
| 8 | |
| 9 class Foo { | |
| 10 } | |
| 11 List<Foo> foos; | |
| 12 | |
| 13 main() { | |
| 14 foos = [new Foo(), new Foo(), new Foo()]; | |
| 15 | |
| 16 print(''); // Print blank line to signal that we are ready. | |
| 17 // Wait until signaled from spawning test. | |
| 18 stdin.first.then((_) => exit(0)); | |
| 19 } | |
| OLD | NEW |