blob: c9e1d748a710e31b3b3e92d0b1fec5d393a273b5 [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.
// @dart = 2.9
/// @description Regression test for the issue 34803 (Dart crashes when tries to
/// compile a class with generic function parameter).
/// @Issue 34803
/// @author iarkh@unipro.ru
class A<X extends G> {}
// ^
// [analyzer] unspecified
// [cfe] unspecified
typedef G<X> = void Function<Y extends X>();
main() {}