| Index: pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart.strong.expect
|
| diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart.strong.expect b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart.strong.expect
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..97e2ca433f9f0861935f457a5f84e9489b31fcf5
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart.strong.expect
|
| @@ -0,0 +1,20 @@
|
| +library test;
|
| +import self as self;
|
| +import "dart:core" as core;
|
| +
|
| +class C<T extends core::num> extends core::Object {
|
| + final field self::C::T x;
|
| + const constructor •(self::C::T x) → void
|
| + : self::C::x = x, super core::Object::•()
|
| + ;
|
| +}
|
| +class D<T extends core::num> extends core::Object {
|
| + const constructor •() → void
|
| + : super core::Object::•()
|
| + ;
|
| +}
|
| +static method main() → void {
|
| + const self::C<core::int> c = const self::C::•<core::int>(0);
|
| + self::C<core::int> c2 = c;
|
| + const self::D<core::int> d = const self::D::•<core::int>();
|
| +}
|
|
|