blob: a4e96aa2908d784e7fff432ab7c767db6845cb63 [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
/// @compile-error
/// @author iarkh@unipro.ru
class A<X1 extends void> {}
main() {}