Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

22 lines
330 B
C#

// CS0314: The type `U' cannot be used as type parameter `T' in the generic type or method `A<T>'. There is no boxing or type parameter conversion from `U' to `System.IComparable'
// Line: 13
using System;
class A<T>
where T: IComparable
{
}
class B<U,V>
where V: A<U>
{
}
class Driver
{
public static void Main ()
{
}
}