blob: a42deee91f7e1975dd338bac1a21ab748c10a0b6 [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
import 'package:expect/expect.dart';
/*strong.class: Class:*/
/*omit.class: Class:*/
class Class<T> {
/*strong.member: Class.:*/
/*omit.member: Class.:*/
Class();
}
/*strong.member: main:*/
/*omit.member: main:*/
main() {
/*needsSignature*/
local1a() {}
/*needsSignature*/
local1b() {}
/*needsSignature*/
local2(int i, String s) => i;
Expect.isTrue(local1a.runtimeType == local1b.runtimeType);
Expect.isFalse(local1a.runtimeType == local2.runtimeType);
new Class();
}