blob: cb5ab6e17cefab560ccce23531c5bd4888139c91 [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.7
/*class: Class1:*/
class Class1 {
/*member: Class1.:*/
Class1();
/*member: Class1.method:*/
T method<T>() => null;
}
/*class: Class2:*/
class Class2<T> {
/*member: Class2.:*/
Class2();
}
/*member: main:*/
main() {
Class1 cls1 = new Class1();
print(cls1.method.runtimeType.toString());
new Class2<int>();
}