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