Index: pkg/front_end/testcases/inference/constructors_infer_from_arguments_const.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const.dart.direct.expect b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c3c0ebc7183ac79eff272ece8267fea19f178dfc |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const.dart.direct.expect |
@@ -0,0 +1,13 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class C<T extends core::Object> extends core::Object { |
+ final field self::C::T t; |
+ const constructor •(self::C::T t) → void |
+ : self::C::t = t, super core::Object::•() |
+ ; |
+} |
+static method main() → dynamic { |
+ dynamic x = const self::C::•<dynamic>(42); |
+} |