blob: c5e433be3444eaf3192293a24ba60da729bf9e09 [file] [log] [blame]
// Copyright (c) 2017, 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.
/*@testedFeatures=checks*/
library test;
class B<T> {
void f(T /*@covariance=genericInterface, genericImpl*/ x, int y) {}
}
abstract class I {
void f(int x, Object y);
}
class
/*@forwardingStub=abstract void f(covariance=(genericImpl) int x, covariance=() Object y)*/
C extends B<int> implements I {}
void main() {}