Chromium Code Reviews| Index: tests/compiler/dart2js/cps_ir/input/closures_9.dart |
| diff --git a/tests/compiler/dart2js/cps_ir/input/closures_9.dart b/tests/compiler/dart2js/cps_ir/input/closures_9.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..185576a21bab323405a9fca435ea243ae5c8cbf2 |
| --- /dev/null |
| +++ b/tests/compiler/dart2js/cps_ir/input/closures_9.dart |
| @@ -0,0 +1,8 @@ |
| +main() { |
| + var a; |
| + for (var i=0; i<10; i++) { |
| + a = () => i; |
| + } |
| + print(a()); |
| +} |
| + |