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