blob: ecbccc29c439cfdb17717dfc44af03ee49e4ad98 [file] [log] [blame]
// TODO(multitest): This was automatically migrated from a multitest and may
// contain strange or dead code.
// Copyright (c) 2013, 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.
// Test that a cycle in redirecting factories leads to a compile-time error.
class A {
factory = B;
class B implements A {
factory B() =;
class C implements B {
factory =;
factory = C
main() {