Chromium Code Reviews| Index: pkg/front_end/test/fasta/inference/closure_body_async_upwards_flatten_local.dart |
| diff --git a/pkg/front_end/test/fasta/inference/closure_body_async_upwards_flatten_local.dart b/pkg/front_end/test/fasta/inference/closure_body_async_upwards_flatten_local.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..281a266caf096720c3ade39fe5aef17843099273 |
| --- /dev/null |
| +++ b/pkg/front_end/test/fasta/inference/closure_body_async_upwards_flatten_local.dart |
| @@ -0,0 +1,6 @@ |
| +import 'dart:async'; |
| + |
| +main() { |
| + Future<int> futureInt = null; |
| + var x = () async => futureInt; |
| +} |