blob: 1fcaa30fd6ef483bc989471e53d8d7791d54ee67 [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.
/*strong.class: Class:*/
/*omit.class: Class:*/
class Class<T> {
/*strong.element: Class.:*/
/*omit.element: Class.:*/
Class();
}
/*strong.element: method1:needsArgs*/
/*omit.element: method1:*/
method1<T>() {}
/*strong.element: method2:needsArgs*/
/*omit.element: method2:*/
method2<T>(t, s) => t;
/*strong.element: main:*/
/*omit.element: main:*/
main() {
print('${method1.runtimeType}');
method2(0, '');
new Class();
}