Chromium Code Reviews| Index: pkg/front_end/test/fasta/redirecting_constructor.dart |
| diff --git a/pkg/front_end/test/fasta/redirecting_constructor.dart b/pkg/front_end/test/fasta/redirecting_constructor.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2e0d92b0566c81d708ce84d98f433665323719ea |
| --- /dev/null |
| +++ b/pkg/front_end/test/fasta/redirecting_constructor.dart |
| @@ -0,0 +1,15 @@ |
| +// 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. |
| + |
| +class A { |
| + A(); |
| + factory A.fisk() = B; |
| +} |
| + |
| +class B extends A { |
| +} |
| + |
| +main() { |
| + new A.fisk(); |
| +} |