blob: b2594373cd014abb9af12bcced8bdbe740402137 [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 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() {}