blob: 5b5730ae0b3dff128dd37b806f00c187b8d510b0 [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.
/// @description Regression test for the issue 33703 (Dart does not throw error
/// if class argument parameter extends Null).
///
/// Finally, analyzer behavior was updated, so the test checks that class type
/// parameter can extend [Null].
///
/// @Issue 33703, 33709
/// @author iarkh@unipro.ru
class A1<X extends Null> {}
class A2<X extends Never> {}
main() {}