Index: pkg/front_end/testcases/inference_new/infer_use_of_void.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference_new/infer_use_of_void.dart.direct.expect b/pkg/front_end/testcases/inference_new/infer_use_of_void.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1ec9b60a072142f07168c97bc3e84515eacc8f81 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference_new/infer_use_of_void.dart.direct.expect |
@@ -0,0 +1,20 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class B extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ method f() → void {} |
+} |
+class C extends self::B { |
+ constructor •() → void |
+ : super self::B::•() |
+ ; |
+ method f() → dynamic {} |
+} |
+static field dynamic x = new self::C::•().f(); |
+static method main() → dynamic { |
+ self::x; |
+} |