blob: bf82a371a82c5123b94e04f87a14e415271e1c69 [file] [log] [blame]
// @dart = 2.9
library test;
class C<T> {
void f1(List<T> x) {}
void f2(T callback()) {}
void f3(T callback(T x)) {}
void f4(void callback(T x)) {}
}
void g1(C<num> c, List<num> l) {}
void g2(C<num> c, num callback()) {}
void g3(C<num> c, num callback(num x)) {}
void g4(C<num> c, void callback(num x)) {}
main() {}