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