Index: pkg/front_end/testcases/shaker/target_class_constructor_lib.dart |
diff --git a/pkg/front_end/testcases/shaker/transitive_class_type_parameter_bound_lib.dart b/pkg/front_end/testcases/shaker/target_class_constructor_lib.dart |
similarity index 55% |
copy from pkg/front_end/testcases/shaker/transitive_class_type_parameter_bound_lib.dart |
copy to pkg/front_end/testcases/shaker/target_class_constructor_lib.dart |
index ef3ade94d36b6469aa2c7151568950ea6e327596..f74d689faa39882ef6098d6f9e92a4ab60763da1 100644 |
--- a/pkg/front_end/testcases/shaker/transitive_class_type_parameter_bound_lib.dart |
+++ b/pkg/front_end/testcases/shaker/target_class_constructor_lib.dart |
@@ -2,8 +2,20 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE.md file. |
-class A {} |
+class A { |
+ int field; |
-class B<T extends A> {} |
+ A(); |
+ A.namedConstructor(); |
-class C {} |
+ void method() {} |
+} |
+ |
+class B extends A { |
+ int field; |
+ |
+ B(); |
+ B.namedConstructor() : field = 0; |
+ |
+ void method() {} |
+} |