blob: a4f5518249541447b7423254f2ed38443aa5374b [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.
// @dart = 2.9
/// @description Regression test for the issue 33624 (Dart does not throw error
/// when analyzer fails with "type_argument_not_matching_bounds" error for
/// mixins).
/// @Issue 33624
/// @author iarkh@unipro.ru
class A {}
class B{}
class M<X extends A> {}
class O<X> extends Object with M<X> {}
// ^
// [analyzer] unspecified
// [cfe] unspecified
main() {
O o = new O<B>();
}