blob: 172fd3831ad382cc8b679a4dd857b560b6f98b44 [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 issue 33421 (Dart does not throw error when
* type parameter is a supertype of its upper bound): Checks that class cannot
* extend itself.
* @Issue 33421
* @compile-error
* @author iarkh@unipro.ru
*/
class C extends C {}
main() {}