blob: 00ea50129a8d6e9e79cfc5135dfee1d274d29b0a [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:compiler/src/util/testing.dart';
class Class<T> {
Class();
}
main() {
/*needsArgs,needsSignature*/
T local1a<T>() => null;
/*needsArgs,needsSignature*/
T local1b<T>() => null;
/*spec.explicit=[local2.T*],needsArgs,needsSignature,test*/
/*prod.needsArgs,needsSignature*/
T local2<T>(T t, String s) => t;
makeLive(local1a.runtimeType == local1b.runtimeType);
makeLive(local1a.runtimeType == local2.runtimeType);
new Class();
}