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