blob: 9561dedcb8a7e4567a825b6f9fe1c4114c00f708 [file] [log] [blame]
// 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.
/**
* @assertion It is a compile error to derive a mixin from a class which has a
* superclass other than Object.
* @description Check that it is an error to derive a mixin from a class
* which has a superclass other than Object.
* @issue 26409
* @issue 27531
* @issue 42254
* @author sgrekhov@unipro.ru
*/
class Sstatic {
}
class M extends Sstatic {
}
class SuperA {
}
class A = SuperA with M;
// ^
// [analyzer] unspecified
// [cfe] unspecified
main() {
new A();
}