blob: 2cd8f5ed6f306a8401cf5946bcc74b685a9392be [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';
T method1a<T>() => null;
T method1b<T>() => null;
class Class {
T method2a<T>() => null;
T method2b<T>() => null;
}
main() {
method1a();
T Function<T>() f1 = method1b;
Class c = new Class();
c.method2a();
T Function<T>() f2 = c.method2b;
makeLive(f1.runtimeType == f2.runtimeType);
}