Index: pkg/front_end/testcases/inference_new/void_return_type_subtypes_dynamic.dart.strong.expect |
diff --git a/pkg/front_end/testcases/inference_new/void_return_type_subtypes_dynamic.dart.strong.expect b/pkg/front_end/testcases/inference_new/void_return_type_subtypes_dynamic.dart.strong.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fc015dcca441bb72aa2142c390206ee66b60d71b |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference_new/void_return_type_subtypes_dynamic.dart.strong.expect |
@@ -0,0 +1,15 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static field void y = self::run<void>(self::printRunning); |
+static method run<T extends core::Object>(() → self::run::T f) → self::run::T { |
+ core::print("running"); |
+ self::run::T t = f.call(); |
+ core::print("done running"); |
+ return t; |
+} |
+static method printRunning() → void { |
+ core::print("running"); |
+} |
+static method main() → dynamic {} |