Index: pkg/front_end/testcases/inference/async_closure_return_type_future_or.dart |
diff --git a/pkg/front_end/testcases/inference/async_closure_return_type_future_or.dart b/pkg/front_end/testcases/inference/async_closure_return_type_future_or.dart |
index 021c91f4fcd729e0894dd6f0f758725efa2a9a1f..34044372b9a1fdef97b5796af153eec8276842e3 100644 |
--- a/pkg/front_end/testcases/inference/async_closure_return_type_future_or.dart |
+++ b/pkg/front_end/testcases/inference/async_closure_return_type_future_or.dart |
@@ -12,3 +12,8 @@ var /*@topType=() -> FutureOr<int>*/ f = /*@returnType=FutureOr<int>*/ () => |
futureOrInt; |
var /*@topType=() -> Future<int>*/ g = /*@returnType=Future<int>*/ () async => |
futureOrInt; |
+ |
+main() { |
+ f; |
+ g; |
+} |