| Index: pkg/front_end/testcases/inference/infer_consts_transitively_2.dart
|
| diff --git a/pkg/front_end/testcases/inference/infer_consts_transitively_2.dart b/pkg/front_end/testcases/inference/infer_consts_transitively_2.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..707bf840a6990909adba2e334a8c34c4365d3d29
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/infer_consts_transitively_2.dart
|
| @@ -0,0 +1,16 @@
|
| +// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +/*@testedFeatures=inference*/
|
| +library test;
|
| +
|
| +import 'infer_consts_transitively_2_a.dart';
|
| +
|
| +const /*@topType=dynamic*/ m1 = a1;
|
| +const /*@topType=dynamic*/ m2 = a2;
|
| +
|
| +foo() {
|
| + int i;
|
| + i = m1;
|
| +}
|
|
|