blob: 535981c1cc8ff319c465906d8806f30fc0e8c016 [file] [log] [blame]
// Copyright (c) 2024, 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 Super {
void extendedConcreteMethod() {}
void extendedAbstractMethod();
void extendedConcreteMixedInConcreteMethod() {}
void extendedAbstractMixedInConcreteMethod();
void extendedConcreteMixedInAbstractMethod() {}
void extendedAbstractMixedInAbstractMethod();
}
mixin class Mixin {
void mixedInConcreteMethod(int i) {}
void mixedInAbstractMethod(int i);
void extendedConcreteMixedInConcreteMethod(int i) {}
void extendedAbstractMixedInConcreteMethod(int i) {}
void extendedConcreteMixedInAbstractMethod(int i);
void extendedAbstractMixedInAbstractMethod(int i);
}
class ClassMixin extends Super with Mixin {}
class NamedMixin = Super with Mixin;
main() {}