// 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.md file. // @dart=2.9 class C1 {} class C2 {} class C3 {} class A { A.internal(); factory A.a() = B.a; factory A.b() = B.a; factory A.c() = Missing; } class B extends A { B.internal() : super.internal(); factory B.a() = C; factory B.b() = C; } class C extends B { C() : super.internal(); } main() { new A.a(); new A.b(); new B.a(); new B.b(); new A.c(); }