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