blob: ddcced5e3cb65dc9c52fc96409e06127822d7fdf [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';
/*member: global#instantiate1:needsArgs*/
class Class {
/*spec.member: Class.id:explicit=[id.T*],needsArgs,needsInst=[<int*>],test*/
T id<T>(T t, String s) => t;
}
main() {
int Function(int, String s) x = new Class().id;
makeLive("${x.runtimeType}");
}