blob: 2cbe89f8110929689408b727be83d340fea9b17a [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 33704 (Dart does not throw error
/// if class argument parameter extends void)
/// @Issue 33704
/// @author iarkh@unipro.ru
class A<X1 extends void> {}
// ^
// [analyzer] unspecified
// [cfe] unspecified
main() {}