blob: 011ce8e751e2f42f9e7d1680753ee95a0fe9c09f [file] [log] [blame]
// @dart = 2.9
typedef Foo<S> = S Function<T>(T x);
int foo<T>(T x) => 3;
Foo<int> bar() => foo;
void test1() {}
class A {
Foo<int> f;
void test() {}
}
main() {}