blob: efce48141dc7b27518e6f016ce9b07c9fb13119b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.C(A<T>)'
// Line: 9
// Compiler options: -langversion:future
interface A<T>
{
}
interface B<out T>
{
void C(A<T> a);
}
|