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