blob: 6c7a38eb3285bffab925ebf7e8d1e2587a4e9d2a [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=genericImpl*/ x, int y) {}
}
abstract class I {
void f(int x, Object y);
}
abstract class
/*@forwardingStub=abstract void f(covariance=(genericImpl) int x, covariance=() Object y)*/
C extends B<int> implements I {}
void main() {}