blob: b0a3aecbfaeb951ade500a2ab3c6293b70bd8b41 [file] [log] [blame]
// Copyright (c) 2024, 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.
// Based on tests/language/nonfunction_type_aliases/generic_usage_function_error_test.dart
typedef T<X> = Function;
abstract class C {
final T<Null> v7;
C() : v7 = T(); // Error
}