blob: 53c53d5cebe79c29de76b15047d7ae3fa4ff3a1d [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.
/*spec.class: A:explicit=[A.T],needsArgs,test*/
class A<T> {
void m(T t) {}
/*member: A.f:*/
void f(int t) {}
}
main() {
A<int>().m is void Function(int);
A<int>().f is void Function(int);
}