blob: 5b7384f529b01b5b136e9cbe6f9785a1e384a100 [file] [log] [blame]
// Copyright (c) 2018, 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.
/// @assertion A mixin declaration syntax separate from class declarations:
/// mixinDeclaration :
/// metadata? 'mixin' identifier typeParameters? ('on' types)?
/// ('implements' types)? '{' mixinMember* '}'
///
/// @description Checks that mixin declaration above is correct.
/// @author ngl@unipro.ru
class I {}
class J {}
mixin M implements I, J {}
class MA with M {}
main() {
new MA();
}