blob: abf9a84d501653d7ffdcafc326b704e7dd1e9ab3 [file] [log] [blame]
// Copyright (c) 2021, 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.
import "package:expect/expect.dart";
class C {
T foo<T>(T value) => value;
}
void main() {
var c = C();
num Function(num) f0 = c.foo;
int Function(int) f1 = c.foo;
Expect.notEquals(f0, f1);
}