Chromium Code Reviews| Index: pkg/fasta/test/cycles.dart |
| diff --git a/pkg/fasta/test/cycles.dart b/pkg/fasta/test/cycles.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..977faff54bcc32f39bb6abd828671a1c9120ed87 |
| --- /dev/null |
| +++ b/pkg/fasta/test/cycles.dart |
| @@ -0,0 +1,22 @@ |
| +// Copyright (c) 2016, 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 implements C { |
| +} |
| + |
| +class B extends A { |
| +} |
| + |
| +class C extends B implements D { |
| +} |
| + |
| +class D { |
| +} |
| + |
| +main() { |
| + print(new A()); |
| + print(new B()); |
| + print(new C()); |
| + print(new D()); |
| +} |